Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: How to move offline form from SAP dev to QA and Production environments?

$
0
0

hi Chandra,

 

I store the url in one of hidden field in form, then copy javascript below to click event, button control type: Regular.

just replace all the "<>" in the code below.

 

var message;

var response;

 

// The name of the data connection will be pulled from the WSDLConnection name in the ConnectionSet packet

var sWSDLName = <DataConnection name>;

 

// clone, modify and execute the connection.

var vConnection = xfa.connectionSet[sWSDLName].clone(true);

vConnection.soapAddress.value = <url>;

 

// Execute the connection, without remerge data after the result.

  var ws_rc = vConnection.execute(true);



for multiple data connection, you have to repeat these code with replace different data connection name and it's url address.

you may use script object (something like subroutine).


Regards,

Kathy Lau


Viewing all articles
Browse latest Browse all 9159

Trending Articles