on 04-18-2011 8:55 PM
Hi,
In the below scenario how do i pass the URL dynamically from context's importing parameters instead of hard coding.
var cURL = "http://................" ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
B'coz the URL is going to be different in Dev, Test, Prod system. In this case i can't hardcode the URL as explained in previous treads. Or please provide the possible alternatives.
Any help is highly appreciated.
Regards,
Sathish
Hi,
Got the solution for
var cURL = "http://................" ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
I tried with
var cURL = xfa.form.data.PAGE2.SubFormPage.IM_URL.rawValue ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
xfa - Root Node
form - Model
data - Form Design Root Node
PAGE2 - Page Name
SubFormPage - Sub Form inside the page
IM_URL.rawValue - Importing field to Adobe{ which i dragged from Data view into sub form(SubFormPage) & set the field as invisible so that it won't be available to user}
Working as expected.
Thanks,
Sathish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.