Expand my Community achievements bar.

Thought I was in the clear, but ...

Avatar

Level 2

I had a hidden field populated with XML. However, I had difficulty getting the XML into a drop down. I got that fixed and I tried to duplicate what I was doing to create another drop down.

In the workbench

I have created a process which queries a database and retrieves multiple rows named QueryCounties.

This is passed to countyXML. I then bind it to the form with

/process_data/formXDP/xdp/datasets/data/form/assignedCounty

Then in designer I have created the field assignedCounty to hold the XML.

When a check box is clicked it invokes:

var address = Page1.commonScripts.getServerName() + "soap/services/COMP/FORM/SubProcesses/QueryCounties";

xfa.connectionSet.CountyPrefill.soapAddress = address

xfa.connectionSet.CountyPrefill.wsdlAddress = address + "?wsdl";

xfa.connectionSet.CountyPrefill.execute(0);

I have a Data Connection established called countyPrefill.

I am missing something because the text field is blank.

Any ideas?

1 Reply

Avatar

Level 10

Couple of checkpoints:

1. Input/Output bindings are proper?

2. Is your form Reader Extended? (if its been opened from Adobe Reader)

3. Did you surround your code with TRY CATCH block and got any errors?

Nith