Question
How to access pega case directly using Pega Web Mashup without showing login screen
Hi All,
I was trying to implement Pega Web Mashup for my application. Actual requirement is we need to show pega screen in web page directly without login screen.So that customer can access pega screen and create case from mashup.
I have tried with model id by passing data-pega-action-param-parameters="{UserIdentifier:'dinesh'}" in mashup script, but still it's showing login screen for authenticate .
Below is full mashup script which calling from web page on click of button.
<!-- ********************** Begin Pega content ********************** -->
<script src ='http://localhost:8080/prweb/PRServlet?pyActivity=pzIncludeMashupScripts'></script>
<div data-pega-gadgetname ='PegaGadget'
data-pega-action ='createNewWork'
data-pega-action-param-classname ='PegaSample-Work-ServiceRequest'
data-pega-action-param-flowname ='pyStartCase'
data-pega-action-param-model =''
data-pega-isdeferloaded ='false'
data-pega-applicationname ='TestFW'
data-pega-threadname ='STANDARD'
data-pega-systemid ='pega'
data-pega-resizetype ='stretch'
data-pega-url ='http://localhost:8080/prweb/PRServlet'
data-pega-redirectguests ='true' ></div>
data-pega-action-param-parameters="{UserIdentifier:'dinesh'}"
<!-- ********************** End Pega content ********************** -->
Please let me know if any one is implemented this.
Thanks, Dinesh G.
Hi Dinesh,
You can try creating an operator for the application and try passing the operator credentials as below
data-pega-action-param-parameters= '{"UserIdentifier":"dinesh","Password":"P@ssWord123"}'
or you can try make using of 'guest' operator in PRPC:Unauthenticated access group
Refer to the post: https://pdn.pega.com/deploying-pega-web-mashup-web-access
Hope this helps.
Thanks,
Sandeep G.