Support Article
Operator Default Locale does not work in Mashup
SA-81866
Summary
Pega Web Mashup is created and embedded in to a third-party website. The Mashup is configured to login automatically using the below attribute:
data-pega-action-param-parameters= '{"UserIdentifier" : "MashupUser","Password": "cnVsZXMxMjMk","Encode":"Enable",pzUsePreferenceSkin:"always", pzSkinName:"CSFW_MASHUP"}'
The operator (MashupUser) has a default locale of 'iw'. On logging in with the user and using the Interaction portal, the system renders in the Right-to-Left (RTL) layout. However, in the Pega Web Mashup, the system renders in the Left-to-Right (LTR) layout.
Error Messages
Not Applicable
Steps to Reproduce
- Create Pega Web Mashup and embed it in a third-party website.
- Configure the Mashup to automatically log in using the below attribute:
data-pega-action-param-parameters= '{"UserIdentifier" : "MashupUser","Password": "cnVsZXMxMjMk","Encode":"Enable",pzUsePreferenceSkin:"always", pzSkinName:"CSFW_MASHUP"}
Root Cause
A user profile setting caused the issue.
Resolution
Perform the following local-change:
- Navigate to Pega Dev Studio > User Profile > Localization section.
- Uncheck the 'Ignore locale' option.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.