Not able to use Mashup parameters with in Data-Portal.ShowDesktop
We're trying to show user portal with Mashup code as below, the user portal works fine.
Meanwhile we also need to use data-pega-action-param-parameters specified in the Mashup code.
And we found that this cannot be done.
When first time launch the Mashup, a STANDARD thread will be created; and the Mashup parameters are not available in this STANDARD.
After that, a thread named with data-pega-threadname will be created; but still, the the Mashup parameters are not available within this thread neither.
It seems the Data-Portal.ShowDesktop will always create new thread, and Mashup parameters are not populated in the new create thread.
Will be appreciate if anyone can help.
Mashup code:
<div id="IACGadget" data-pega-encrypted ='false' data-pega-gadgetname ='IACGadget' data-pega-threadname ='20220408155144-HR-Work-TOA'
data-pega-action ='openWorkByURL' data-pega-action-param-query ='pyActivity=Data-Portal.ShowDesktop' data-pega-channelID ='MASHUP0ba643d2af65416c8a0d956b646740b8'
data-pega-action-param-model ='' data-pega-action-param-readonly ='false' data-pega-isdeferloaded ='false'
We're trying to show user portal with Mashup code as below, the user portal works fine.
Meanwhile we also need to use data-pega-action-param-parameters specified in the Mashup code.
And we found that this cannot be done.
When first time launch the Mashup, a STANDARD thread will be created; and the Mashup parameters are not available in this STANDARD.
After that, a thread named with data-pega-threadname will be created; but still, the the Mashup parameters are not available within this thread neither.
It seems the Data-Portal.ShowDesktop will always create new thread, and Mashup parameters are not populated in the new create thread.
Will be appreciate if anyone can help.
Mashup code:
<div id="IACGadget" data-pega-encrypted ='false' data-pega-gadgetname ='IACGadget' data-pega-threadname ='20220408155144-HR-Work-TOA'
data-pega-action ='openWorkByURL' data-pega-action-param-query ='pyActivity=Data-Portal.ShowDesktop' data-pega-channelID ='MASHUP0ba643d2af65416c8a0d956b646740b8'
data-pega-action-param-model ='' data-pega-action-param-readonly ='false' data-pega-isdeferloaded ='false'
data-pega-applicationname ='MTKBPMApp' data-pega-resizetype ='stretch' data-pega-url ='https://mtkbpmwatv81.mediatek.inc:1689/prweb/IAC/' data-pega-action-param-parameters ='{"pzSkinName":"CosmosSkin","pyMashupSkeletonName":"pyDefaultMashupSkeleton","UserIdentifier":"AABBCC"'></div>