on 12-18-2014 12:47 PM
Dear experts,
have you ever try to use web service in Adobe Livecycle?
I want to use interactive form to create / update / read a custom business object.
This is the code in adobe livecycle after a button on-click action. I am not sure if the code is correct.
form1.subform1.CreateBtn::click - (JavaScript, client)
var input1 = form1.subform1.ProductConfigID.rawValue;
var input2 = form1.subform1.Description.rawValue;
var myURL = "https://my0000000.crm.ondemand.com/sap/bc/srt/scs/sap/yykh726zly_priceconfiguration?wsdl";
var myProxy = SOAP.connect(myURL);
var myAuthen = {
Username : "username",
Password : "password"
};
var myAction = "http://0000000-one-off.sap.com/YKH726ZLY_/YKH726ZLY_PriceConfiguration/CreateRequest";
var myRequest = {
"http://0000000-one-off.sap.com/YKH726ZLY_" : ProdConfCreateRequest(
{ProdConf : {
ProductConfigID : input1,
Description : input2
}
}
)
};
var response = SOAP.request({
cURL : myURL,
oRequest : myRequest,
cAction : myAction,
oAuthentication : myAuthen
});
Many thanks and happy Holidays
Cheers
Linh
Dear expert,
has anyone tried to work with interactive forms? As in SAP help documentation:
it is possible to do so. I don't know where to find an example.
Looking forward to your reply.
Best regards
Linh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Linh,
I don't know but we have changed some scripting in SAP cloud for customer sales quote template and getting expected results via adobe lifecycle designer.
Please refer the below url may be this will helpful to you.
Consuming Web Services in Adobe LiveCycle ® - YouTube
Invoking a Web Service from a SmartForm Programmatically
Regards,
Mithun
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.