cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a servlet doPost from a UI5 app - and also pass a string parameter.

Former Member
0 Kudos

Hi,

We are trying to develop a SF extension application which will retrieve employee information of certain kind (in XML format) and convert it into PDF format.

We do have the UI5 app ready - which retrieves the employee data from SF. We also have the servlet PDF conversion program ready. What we do not know is how to pass the data from the first app to the second servlet.

Can anyone please help?

Accepted Solutions (0)

Answers (2)

Answers (2)

varun_boyina
Participant
0 Kudos

Hi Arindam Chatterjee ,

You can please refer to below links where in I have explained how to call a servlet using Jquery,Ajax.

Regards,

Varun

Qualiture
Active Contributor
0 Kudos

It depends on how your servlet expects the POST (or GET?) data. Do you post JSON, or URL variables, etc

Normally, a simple asynchronous jquery.ajax() will do just fine