Question

2
Replies
2045
Views
Close popover
Smitha Rajasenan (SmithaR1)
Nielsen

Nielsen
US
SmithaR1 Member since 2016 27 posts
Nielsen
Posted: October 25, 2016
Last activity: October 28, 2016
Closed

Get a Parameter in Web-Login Page

 Hi ,

   This is related to a parameter we use to display selected content ( based on User's language ) in web-login.html.

  The URL to access the application (pega URL) will contain a parameter say lang . V ( http:pegaurl/!STANDARD?lang=es_US )

  Based on the value of lang - the web-login.html will display selected content to user. 

  The problem occurs when there is a validation error in the Custom Authentication activity. Say the user credentials do not match . 

  Then the web-login page is shown to user & at this point the web-login page cannot get the value of lang . So it displays the default content. 

   We tried to set a param called lang in the Custom Authentication Activity as an Out Param . But it did not work. 

   We then tried to get and set the value of lang to the query string using a pxThread Property. 

   This way the URL always contains "lang=en_US" . But when we access this property using :tools.getParamValue("lang") it still does not return a value.

    Can you help me with setting the lang variable correctly so that the web-login file can get it ?

    Thanks,

     Smitha R

***Updated by Moderator: Vidyaranjan| Included Categories***

Low-Code App Development User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.