Add links in CAPI area

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Mariovaisman
Posts: 133
Joined: February 11th, 2013, 8:26 am

Add links in CAPI area

Post by Mariovaisman »

Hi all,
I was watching the sample application that is installed in android devices when csentry is installed. When executed this program, I found that when the HH members are completed there is a link in the CAPI text to finish the case. I don't know how to create it, is there any example, or how I can see the sample logic.
Thanks
Mario V
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Add links in CAPI area

Post by sherrell »

Hi Mario,

The "Simple CAPI" application is installed along with CSPro. If you go here:

C:\Users\<USERID>\Documents\CSPro\Examples 7.7\1 - Data Entry\Simple CAPI

you'll find the application. Go to the CAPI text for the NAME_BLOCK variable, and if you click on the text in question "end the roster (with a household size of curocc())", you'll get a pop-up dialog that shows the link, which is running some javascript:

javascript:CSPro.runLogicAsync('EndPersonRoster();')

Sherrell
Post Reply