on 09-27-2010 10:19 PM
Hi experts,
I drag a Button1 and TextField1 to master pages in form builder, and write some javascript for button click event:
TextField1
// URL pointing to the WSDL
var cURL = "http:/xxx:8000/sap/bc/srt/wsdl/bndg_DFC81FE0B72259F1A3FA002219032707/wsdl11/allinone/ws_policy/document?sap-client=210";
// Connect to web service
var service = SOAP.connect(cURL);
// Call operation "ZIfbaBookTime" and keep the result in a variable
var result = service.ZIfbaBookTime();
// Update textfield on form with the result returned from the web service
xfa.resolveNode("data.Page1.Textfield1").rawValue = result;
I have 2 questions:
1. When I convert the form to a PDF file, I find the style of my mouse isn't click style, so I can't click the button. (the button isn't grey, too). My acrobat reader version is 9.1, and livecycle designer 7.1 works in ECC6
2. Is my script code correct? How to debug the code?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.