Question
3
Replies
1106
Views
Posted: April 20, 2018
Last activity: April 24, 2018
Closed
Pega Web Mashup
Hì team,
can i change dynamically the data-pega-action-param-harnessname = 'pyCaseWorker' to retrieve portal information from the user's access group ?
Now all users are using the pyCaseWorker, too the manager.
Please see the attachment,
thanks
Marino.
Hello ,
You can pass the portal dynamically, I have tried below code at my end its working as expected.
<%
// pass the portal name
String myURL="myPortal";
%>
<div id= "MyApp" data-pega-gadgetname ='MyApp' style ='overflow:auto'
data-pega-action ='display'
data-pega-action-param-classname='Data-Portal'
data-pega-action-param-harnessname ='<%=myURL%>'
data-pega-action-param-readonly ='false'
data-pega-applicationname ='TestApp'
data-pega-threadname ='STANDARD'
data-pega-resizetype ='stretch'
data-pega-url ='http://localhost:8080/prweb'
data-pega-redirectguests ='true'>
Regards,
Praveen