Hi all,
Is it possible to generate CAPI questions from Dictionnary (item label) without editing CAPI questions for each questions?
Thank in advance
Generate CAPI questions
-
- Posts: 1846
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Generate CAPI questions
There is no way to do this automatically. If you had some programming skills, you would read in the dictionary (.dcf) and write out the CAPI questions (.qsf) file. They are both text files, but this task would not be trivial.
Re: Generate CAPI questions
I normally use a combination of excel and Notepad ++ to generate these CAPI questions.
In Excel file (attached), I have two sheets where the I first paste from DCF macro field names and labels. At cell D2, replace the name of your internal name of your dictionary.
You need the following header,
[CAPI QUESTIONS]
Version=CSPro 7.0
[LANGUAGES]
ENG=English
Tags used here are for version 7. Other versions may have different tags, please check by manually generating a QSF file then compare.
Open your app QSF file using a text editor then Copy and paste from sheet two then remove the quotes ("). Save your file and open your app.
This approach has worked for me.
In Excel file (attached), I have two sheets where the I first paste from DCF macro field names and labels. At cell D2, replace the name of your internal name of your dictionary.
You need the following header,
[CAPI QUESTIONS]
Version=CSPro 7.0
[LANGUAGES]
ENG=English
Tags used here are for version 7. Other versions may have different tags, please check by manually generating a QSF file then compare.
Open your app QSF file using a text editor then Copy and paste from sheet two then remove the quotes ("). Save your file and open your app.
This approach has worked for me.
- Attachments
-
- Generate CAPI questions QSF from DCF.xls
- (57.5 KiB) Downloaded 806 times
Re: Generate CAPI questions
Thank you kakinyim,
I will test it.
I will test it.
kakinyim wrote:I normally use a combination of excel and Notepad ++ to generate these CAPI questions.
In Excel file (attached), I have two sheets where the I first paste from DCF macro field names and labels. At cell D2, replace the name of your internal name of your dictionary.
You need the following header,
[CAPI QUESTIONS]
Version=CSPro 7.0
[LANGUAGES]
ENG=English
Tags used here are for version 7. Other versions may have different tags, please check by manually generating a QSF file then compare.
Open your app QSF file using a text editor then Copy and paste from sheet two then remove the quotes ("). Save your file and open your app.
This approach has worked for me.
Re: Generate CAPI questions
Excelent post!!
Thank you very much, Its working.
Thank you very much, Its working.
Hannes Rodriguez
Lima, Perú
Lima, Perú
Re: Generate CAPI questions
hey Guys,
I was just searching to see if you have a utility for creating the QSF from the DCF. Doing so would be *really* useful...esp. right now, as I have a series of questionnaires, some of which are 100 pages <ack!>. I've done this before (for smaller QREs) using notepad++ and running a series of macros...but obv. that's a bit tedious.
Is this per chance in the works anytime soon?
Thanks,
Sherrell
I was just searching to see if you have a utility for creating the QSF from the DCF. Doing so would be *really* useful...esp. right now, as I have a series of questionnaires, some of which are 100 pages <ack!>. I've done this before (for smaller QREs) using notepad++ and running a series of macros...but obv. that's a bit tedious.
Is this per chance in the works anytime soon?
Thanks,
Sherrell
Re: Generate CAPI questions
Sorry, not currently on our radar. Kakinyi's solution is probably your best bet.
Re: Generate CAPI questions
ok, thnx Josh; smg
Re: Generate CAPI questions
I am looking for someone who can code capi for my android application. Please inform me.
http://www.lucknow.itsws.com/contact-us.html
http://www.lucknow.itsws.com/contact-us.html
Re: Generate CAPI questions
hello, I sent you an email via the link.sunilgu30 wrote:I am looking for someone who can code capi for my android application. Please inform me.
http://www.lucknow.itsws.com/contact-us.html
Thanks