Forum Discussion
cike - You could use the WebUI context object which would return the registration page URL webUi.getUserRegistrationPageUrl("/")}
and in place of the "/" you can enter the return URL, which can be set as "postmessageworkflowpage". You will have to get the actions whether a user is coming from clicking the kudo or from reply/ post page etc and set your triggers accordingly. As an FYI - please take extra precautions while working inside the page init script, one wrong move and your stage would be unusable and you will have to get in touch with support to get it back.
- cike10 years agoChampion
VarunGrazitti - Can I change the URL parameter dest_url using the webUi.getUserRegistrationPageUrl("/")}?
I didn't find any Freemarker method to set a URL parameter within the page init scripts.
Christian
- VarunGrazitti10 years agoBoss
cike - Yes, you can. However, you wouldn't have to change it in the SSO settings under admin as you want this redirect for specific cases only, you can add this to your code like -
webUi.getUserRegistrationPageUrl("www.your_url.com")}
- kosmonaft8 years agoGuide
VarunGrazitti any idea how to get Registration url without referrer?