Generating URL dynamically

Sandeep Kumar13
Tera Guru

In email , i want to provide a dynamic URL based on loggedin user.

URL: Instance name/sp?id=pagename&instanceid=abc12345

 

Above link i want to pass it in the email, but here the issue is instance id needs to be  based on loggedin user, but here as user clicking on link in email, we cant get the loggedin user details right?

 

Can someone help me on this to move forward on this issue?

 @Ankur Bawiskar @Mark Roethof 


Thanks in advance,

5 REPLIES 5

Community Alums
Not applicable

Hi @Sandeep Kumar13 ,

 

Please update a notification that sends survey notifications to complete the surveys. 

Hints: 1. You can configure a Notification email script to generate the URL and call it in the email body like this:

${mail_script:<name_of_your_script>}

2. There is an asmt_m2m_category_user table that stores assessment categories and users assigned to its information. You glide this table in the email script to get the logged-in users survey.

 

If this helped you in any way, please hit the like button/mark it helpful. So it will help others to get the correct solution.