cancel
Showing results for 
Search instead for 
Did you mean: 

Web service and interactive form Adobe Licecycle

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear expert,

has anyone tried to work with interactive forms? As in SAP help documentation:

https://my304900.crm.ondemand.com/sap/a1s/cd/wkt/doc/KTP/Reuse_Library/ef75d7c5505f4d46873284b6d1620...

it is possible to do so. I don't know where to find an example.

Looking forward to your reply.

Best regards

Linh

Former Member
0 Kudos

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

Former Member
0 Kudos

Thank you Mithun, these links are indeed very helpful. I will try it out.

Best

Linh