Changes

Jump to: navigation, search
Using Variables to Create a Customized Login Hyperlink for Use in Email Bodies
Frequently, the above syntax is used in the body of [[:Category:Email|SmartSimple emails]] to create a customized hyperlink to a specific record in a [[UTA]].
The following stringvariable options, when can be used in the body of an email template or [[:Category:Workflows|workflow]] email body (triggered against a Level 1 record), will to create a customized login hyperlink that will bring the user to the specific record the hyperlink is emailed from:
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">https://*'''@urlobjtoken@/s_Login.jsp?dest=/Apps/app_editopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26opportunityid%3D@opportunityid@%26appid%3D@apptype@</pre> The following '''- returns token which can be included in the body of a workflow e-mails to provide a link directly used with instance url to access the {{l1}} or {{l2}} and triggered the [[Workflow]]. The user must already be logged into [[SmartSimple]] current object in their browser.view mode : Note that the window in the browser will only include the UTA record. The outer frame including the menu etc will not be present.  * Level 1 Edit Mode:<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">https://'''@urlobjtoken_view@/s_Login.jsp?dest=/Apps/app_editopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26opportunityid%3D@opportunityid@%26appid%3D@apptype@</pre> * Level 1 View Mode:<pre style="white''' -space: pre-wrap; returns token which can be used with instance url to access the current object in view mode white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">https://*'''@url@/s_Login.jsp?dest=/Apps/app_viewopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26opportunityid%3D@opportunityidobjtoken_loginurl@%26appid%3D@apptype@</pre> * Level 2:<pre style="white-space: pre''' -wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">https://@returns full login url@/s_Login.jsp?dest=/Apps/app_editevent.jsp%3Fnextlevel%3D1%26matchlist%3D1%26eventid%3D@eventid@%26appid%3D@parent.apptype@</pre>  From a Level 2 Workflow with token, including the destination hyperlink to provide a link redirect the user to the Level 1object in edit mode :* Edit Mode:<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">https://'''@urlobjtoken_view_loginurl@/s_Login.jsp?dest=/Apps/app_editopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26opportunityid%3D@parent.opportunityid@%26appid%3D@parent.apptype@</pre>* View Mode:<pre style="white''' -space: pre-wrap; returns full login url with token, including the destination hyperlink to redirect the user to the object in view mode white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">https://*'''@url@/s_Login.jsp?dest=/Apps/app_viewopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26opportunityid%3D@parent.opportunityid@%26appid%3D@parent.apptypeloginurl@</pre>  * Company Edit Mode:<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white''' -space: -o-pre-wrap; word-wrap: break-word;">https://@returns full login url@/s_Login.jsp?dest=/s_editcompany.jsp%3Fscope%3D1%26companyid%3D@companyid@</pre>without token, including the destination hyperlink to redirect
==See Also==
Smartstaff, administrator
4,478
edits

Navigation menu