We have embedded an Text editor app, an external application in Pega UI section using the URL utilizing HTML-iframe tags(custom section). In the embedded application, user can edit the content. To save the changes, external application has given a REST API to update the changes to their server. The service, in the response http header will return an cookie to save the update done in the editor UI.
When we call the REST API using connect-REST from an Activity or Data transform, changes are not saved as Pega is making the service call from the application server whereas to save the changes that are in the browser, the service call should be made from the browser, that is client side. I am reluctant to use Java script due to upgrade considerations but I don't see any other option to call the service from client Side. Is there anyway to achieve this without using Java script or custom coding?
Note: The Peg application version in 8.4
This answer came from a Pega gen-AI assistant using the below references.
As a Support Center moderator, I reviewed the answer and references for accuracy