Posted: 17 Jan 2021 1:58 EST Last activity: 3 Feb 2021 10:14 EST
pega web mashup param issue
Hi, I am trying to perform open case by handle from pega 8.1 using pega 8.5 mashup code. Below is the configuration in mashup in pega 8.5. As we can see I am using Param.insHandle as instance handle.
Now when I am opening WO from pega 8.1 its failing. Can anyone tell is above the right configuration and what would be the correct way to pass the instance handle from 8.1 to open WO dynamically. After including the mashup in 8.1 section how can I open the Work objects from there. I know I need to pass the pzInsKey from 8.1 but how?
***Edited by Moderator: Pooja Gadige to add platform capability tag***
3. You can give any value in the key while generating the mashup snippet.
4. In the host page (8.1 instance where you paste the snippet), use as below if the handle value is present in a property (for eg, Handle) in the current thread of 81 instance
data-pega-action-param-key = '<%= tools.findPage("pyWorkPage").getString("Handle")%>'
or use as below if the handle is present in a parameter:
data-pega-action-param-key = '<%= tools.getParamValue("InsHandle")%>'
5. Also, make sure the gadget is defer loaded (data-pega-isdeferloaded ='true' ) in case you are loading the mashup on some user action using pega.web.api.doAction("PegaGadget", "load").
Also, as this use case is embedding Pega content within Pega, hope you are using below script tag instead of calling pzIncludeMashupScripts activity in order to load mashup scripts.