Hi -- In Tessitura, the Example Login Credentials email template has this code:
@if (Model.GetPropertyValue("ResetLink") != null){ <p> <a href="@Model.GetPropertyValue("ResetLink")" target="_blank">Click here to reset your password</a> </p>}
Can someone tell me where that property value comes from?
Searching the tessituranetwork.com site for "ResetLink" yields no results.
Thanks!
-- Alan
Hi Alan,
It's a template parameter. It's included in that template as an example of how parameters work. If you are making other edits to the template, you could certainly hardcode the URL into the template instead.
Thanks. Is there a way to set the parameters via the REST SendLoginCredentials service call, or some other way? It'd be nice to not have to change the template when Live-Test copies happen.
Yes indeed, managing Live and Test sites is a good use of the parameter. That call accepts a NameValues collection in the request body. It looks like this:
The GetTickets/RenderTickets template functions do not support custom parameters (name/value pairs)... Is that something that can be added?? I had to implement some clunky work-arounds to get extra parameters/info into those functions, it would be great if name/value pairs could be supported there as well...
I can certainly submit an enhancement suggestion for that one. I hadn't noticed that before.