I call a web service in my form to retrieve some fields.
I retrieve a list of users (login ,name, email etc ...).
I want when I click on the button that all the fields appear in a table.
I try to drag and drop the connection body to the form design. It create me a table in a flowable subform with an overflowleader and fields that look well. In the binding tab I check that Repeat is check but when I click on the form there is only one row fill in.
Thanks for the help 🙂
Edit : the form is an interactive pdf form.
For example the web service return me 4 users.
If I click on the button only the first user data creating a row.
If I fill 4 in the repeat min box, the 4 rows with data appear but I can specify this value, it depends on what the users choice.
For the data merging, the execute button works fine and if we want to script the click event, use a normal button and add xfa.connectionSet.dataconnection.execute(1) in place of execute(0) make the same result and allows to script other things.
But I still don't know how to don't lose the result of a previous call of my web service when a call is made again.
On the click event of my button, I call the web service with the soaprequest, then I take the data from the result, add an instance of my table and fill my field for each user( nameresponse with name etc ..).
I will do like that for the moment. Is there a simple way to do this ?
If it's the "Acrobat is attempting to connect to ... If you trust the site, choose Allow..." security warning, then it's not easily bypassed because end users need to be aware of potential "phone home" security threats. The dialog does include a "remember my action" option so that it will not appear on subsequent web service calls.
Yes, it is. When I check the "remember my action" box, the submit button doesn't work anymore.
What do you mean by " to certify the doc" ? I have 2500 users, if I need to do it manually for each one it'll be complicated.
Why when I use the web service without scripting the security warning doesn't appears ?
Thanks for helping me and thanks Paul to.
Certifying the document means applying a digital ID. This only needs to be done once for the document. But in order to avoid the message on the user's machine, you would need adjust the certificate trust settings on all 2500 clients -- not a very good option.
Whether the web service is called through script or not should have no effect on the warning. It should always appear. Also, checking the box should not cause the submit to stop working. Can you send a copy of your form and the wsdl file to firstname.lastname@example.org? I wouldn't mind taking a look at it.
I sent you my form and the wsdl file to email@example.com. Thanks.
I've had a very quick look at your form. I see a number of changes to the script in the Submit button, but nothing that would cause it to stop working. Is this form intended for use as part of a LiveCycle process?
When I click the requeteUneBtn, which doesn't use script, I'm presented with a security warning. What version of Acrobat are you using?
And this is completely unrelated to your problems, but I did notice that both drop-down fields have a huge number of StyleID processing instructions in the XML Source. This is likely due to a copy/paste bug in an older version of Designer. If you want to clean them up, you can change the Appearance property (in the Object inspector) to something other than "Sunken Box" and then change it back again.