Changes

Jump to: navigation, search
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:
<pre style="white-space: pre*'''@objtoken@'''-wrap; returns token which can be used with instance url to access the current object in view mode white-space: -moz-pre-wrap; :recipient would see token e.g. %246F%2FIPCZpdvX%2B1VAxuTxIcGLQuErPi%2FYU3uNRMvTZBjY%3D white-space: -pre-wrap; white-space: *'''@objtoken_view@''' -o-pre-wrap; returns token which can be used with instance url to access the current object in view mode word-wrap: break-word;">https://@url@/s_Loginrecipient would see view mode token e.jsp?dest=/Apps/app_editopportunityg.jsp%3Fnextlevel%3D1%26matchlist%3D1246F%26opportunityid2FIPCZpdvX%3D@opportunityid@2B1VAxuTxIcGLQuErPi%26appid2FYU3uNRMvTZBjY%3D@apptype@</pre>
The following can be included in :*'''@objtoken_loginurl@''' - returns full login url with token, including the body of a workflow e-mails to provide a link directly destination hyperlink to redirect the {{l1}} or {{l2}} and triggered the [[Workflow]]. The user must already be logged into [[SmartSimple]] in their browser.: Note that to the window object in the browser will only include the UTA record. The outer frame including the menu etc will not be present.  * Level 1 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://@recipient would see url@, desttoken parameter and edit mode token e.g. smart.smartsimple.com/s_Login.jsp?destdesttoken=/Apps/app_editopportunity.jsp%3Fnextlevel246F%3D12FIPCZpdvX%26matchlist2B1VAxuTxIcGLQuErPi%3D1%26opportunityid2FYU3uNRMvTZBjY%3D@opportunityid@%26appid%3D@apptype@</pre>
:* Level 1 View Mode:<pre style="white'''@objtoken_view_loginurl@''' -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://@recipient would see url@, desttoken parameter and view mode token e.g. smart.smartsimple.com/s_Login.jsp?destdesttoken=/Apps/app_viewopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1246F%26opportunityid2FIPCZpdvX%3D@opportunityid@2B1VAxuTxIcGLQuErPi%26appid2FYU3uNRMvTZBjY%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://@url@/s_Login.jsp?dest=/Apps/app_editevent.jsp%3Fnextlevel%3D1%26matchlist%3D1%26eventid%3D'''@eventidloginurl@%26appid%3D@parent.apptype@</pre>  From a Level 2 Workflow to provide a link to the 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://@returns full login url@/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; white-space: -moz-pre-wrap; white-space: -pre-wrap; without token, including the destination hyperlink to redirect white-space: -o-pre-wrap; word-wrap: break-word;">https://@recipient would see url@/s_Loginonly e.jsp?dest=/Apps/app_viewopportunityg.jsp%3Fnextlevel%3D1%26matchlist%3D1%26opportunityid%3D@parentsmart.opportunityid@%26appid%3D@parentsmartsimple.apptype@</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://@url@/s_Login.jsp?dest=/s_editcompany.jsp%3Fscope%3D1%26companyid%3D@companyid@<com/pre>
==See Also==
Smartstaff, administrator
4,478
edits

Navigation menu