First of all, I'm working on PRPC 6.3 SP1 and my target browser is Firefox.
I've read many topics here, so I tried the following methods : pega.util.Connect.asyncRequest and httpRequestAsynch. So I tried to call an activity with parameters, using the SafeURL class and put("activityparam", JSvar). But those 2 methods don't work.
To use the SafeURL class, I had to import "safeURL.js" in my code. I tried to import "httprequestscript.js" for the httpRequestAsynch method but it still doesn't work (I read that this method is only working on IE, maybe it can explain why). I haven't found the JS for the pega.util.Connect.asyncRequest method.
My code seems to fail when I call those functions because when I put some alert() after, no alert is shown.
I tried the following :
var oSafeURL = new SafeURL("ISTYA-FW-CRM-Work.AkioIEMJSValuesToProperties");
//solution 1 (I also tried with a callback function as third parameter)
The context is : in an iFrame popup, I've got a value retrieved by callback (with JS function listener.) from an external system. I want to save this value in a clipboard property to use it later in my flow.
Because it's an iFrame popup (so I've got 2 screens, the iFrame popup and my "main" pega screen), I would like to know if there is any solution without submit any form.