Page 1 of 1

Add links in CAPI area

Posted: November 21st, 2022, 4:33 pm
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

Re: Add links in CAPI area

Posted: November 21st, 2022, 6:14 pm
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