Forum Discussion

PerBonomi's avatar
8 years ago

Rank up PM variable issue

Hi folks. Recently ran into this issue. The last line of the rank up PM is as follows: '<p>Visit your <a href="${rankUser.webUi.url}">profile page</a> to see your rank and other personal stats.</p>'...
  • TariqHussain's avatar
    8 years ago

    PerBonomi- are you getting this broken URL by send email to self from studio or this is generated automatically when user ranks is changing? 

     

    ${rankUser.webUi.url} is accurate context object, Open a ticket to lithium support for this is not working.This context object returns the user profile page URL which can be obtained by alternative way.

    e.g communityurl.com/t5/user/viewprofilepage/user-id/<user.id>

     

    You can use below context objects to generate above URL.

    $emailUrls.getCommunityUrl - To get the community URL

    ${user.id} - To get the user id.