Search code examples
asp.netoutsystems

GetEntryURL in the Destination of a link


I trying to set the Destination of the link in the email. But Iam not sure how to set the identifier as the input parameter.Below are the list of input parameters of the page. enter image description here

So I am trying to pass the parameters using GetEntryURL as

"http://" + Site.PageDirect + GetEntryURL("RiderRouteEditCreate","iCommute","WantsWithdraw",False,"ViewRouteEdit",False,"RouteId",NullIdentifier(),"ViewRiderEdit",False,"IsAdmin",False,"RiderId")

I am not sure how to set the RiderId as it is the Dynamic here. Can anyone please suggest me how can I approach this.


Solution

  • On your Email have an input parameter name it RiderId.

    Do not forget to change the data type of RiderId to be the identifier you want.

    Your Email will look like this:

    Sample Image

    Then your link can be something like this:

    "http://" + Site.PageDirect + GetEntryURL("RiderRouteEditCreate","iCommute","WantsWithdraw",False,"ViewRouteEdit",False,"RouteId",NullIdentifier(),"ViewRiderEdit",False,"IsAdmin",False,"RiderId", RiderId)