Search This Blog

Monday, February 23, 2015

Dynamic Branding

The requirement was to brand the public facing custom login component with the institution logo. There are 12 institutions and one login page to serve all the institutions. 

The way was to characterize the URL with the institution identifier towards the end of it. 
 
Means: The institution 1 one will have the URL like https://test.institution.edu/psp/testDEV/EMPLOYEE/PUBLIC_link/c/test.test.GBL?INST=INSTI1

For institution 2 https://test.institution.edu/psp/testDEV/EMPLOYEE/PUBLIC_link/c/test.test.GBL?INST=INSTI2 and so on...

Once the page is triggered, the code will look for the INST parameter using 
%Request.GetParameter("INST") which will return the institution code. Based on this, we can select the branding logo to display on the custom page.

You can add any number of parameters to the URL. And rest depends on your dynamic configuration.

No comments:

Post a Comment