Changes

Using Variables to Create a Customized Login Hyperlink for Use in Email Bodies
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">https://smartalias.smartsimple.com/Apps/app_editopportunity.jsp?nextlevel=1&appid=100073120073&matchlist=0&hr=0&companyid=123456&opportunityid=7654321</pre>
Note that the syntax is:
<pre style="white-space: pre-wrap;
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:
<nowiki>https://*'''@objtoken@'''- returns token which can be used with instance url@/s_Loginto access the current object in view mode ::recipient would see token e.jsp?dest=/Apps/app_editopportunityg.jsp%3Fnextlevel246F%3D12FIPCZpdvX%26matchlist2B1VAxuTxIcGLQuErPi%3D1%26opportunityid2FYU3uNRMvTZBjY%3D :*'''@opportunityidobjtoken_view@''' - returns token which can be used with instance url to access the current object in view mode ::recipient would see view mode token e.g. %26appid246F%2FIPCZpdvX%2B1VAxuTxIcGLQuErPi%2FYU3uNRMvTZBjY%3D@apptype@</nowiki>
The following can be included in :*'''@objtoken_loginurl@''' - returns full login url with token, including the body of a workflow e-mails destination hyperlink to provide a link directly redirect the user to the {{l1}} or {{l2}} object in edit mode ::recipient would see url, desttoken parameter and triggered the [[Workflow]]edit mode token e.g. smart.smartsimple.com/s_Login.jsp?desttoken=%246F%2FIPCZpdvX%2B1VAxuTxIcGLQuErPi%2FYU3uNRMvTZBjY%3D
The :*'''@objtoken_view_loginurl@''' - returns full login url with token, including the destination hyperlink to redirect the user must already be logged into [[SmartSimple]] to the object in their browser.view mode : Note that the window in the browser will only include the UTA record:recipient would see url, desttoken parameter and view mode token e.g. smart.smartsimple. The outer frame including the menu etc will not be presentcom/s_Login.jsp?desttoken=%246F%2FIPCZpdvX%2B1VAxuTxIcGLQuErPi%2FYU3uNRMvTZBjY%3D
 * Level 1 Edit Mode: https&#58;//alias.smartsimple.com/Apps/app_editopportunity.jsp?appid=123456&nextlevel=1&opportunityid=@opportunityid@ * Level 1 View Mode: https&#58;//alias.smartsimple.com/Apps/app_viewopportunity.jsp?appid=123456&nextlevel=1&opportunityid='''@opportunityidloginurl@''' - returns full login url without token, including the destination hyperlink to redirect * Level 2: https&#58;//alias.smartsimple.com/Apps/app_editevent.jsp?appid=123456&nextlevel=1&eventid=@eventid@   From a Level 2 Workflow to provide a link to the Level 1:* Edit Mode: https&#58;//aliasrecipient would see url only e.smartsimpleg.com/Apps/app_editopportunity.jsp?appid=123456&nextlevel=1&opportunityid=@parent.opportunityid@* View Mode: https&#58;//aliassmart.smartsimple.com/Apps/app_viewopportunity.jsp?appid=123456&nextlevel=1&opportunityid=@parent.opportunityid@
==See Also==
Smartstaff, administrator
4,478
edits