0
edits
Changes
no edit summary
Tokens are created using two different encryption methods. Accordingly, either ssEncrypt or ssEncrypt2 are used, depending on which [[entity]] is involved:
===[[Level 1 Templates|Level 1 template]] page token===
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><ssEncrypt>typeid,rootcompanyid</ssEncrypt></pre>
===[[Level 2 Types|Level 2 template]] page token===
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><ssEncrypt>typeid,appid,rootcompanyid</ssEncrypt></pre>
==={{WPV}} token:===
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><ssEncrypt2>objectid</ssEncrypt2></pre>
Example: To open the {{WPV}} with [[Custom Field ID|custom field ID]] 123456 on a contact you would use the following syntax:
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><input type=button class=Button value="Open" onclick="_openpageview('123456','<ssEncrypt2>@userid@</ssEncrypt2>',1)" ></pre>Note: if you have [[URL Parameter Encryption]] enabled, the custom field ID must be encrypted as well using ssEncrypt3. If custom field 654321 is on a {{l1}}:
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><input type=button class=Button value="Open" onclick="_openpageview('<ssEncrypt3>654321</ssEncrypt3>','<ssEncrypt2>@opportunityid@</ssEncrypt2>',1)" ></pre>
===Contact Role Intersection (Level 1)===<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><ssEncrypt2>oprid</ssEncrypt2></pre>Example (custom field located on the Level 1 UTA role):<pre><input type=button class="Button" onclick="javascript:openRoleFields('<ssEncrypt2>@oprid@</ssEncrypt2>',@roleid@)" value="My Vote"/><script>function openRoleFields(objectid,roleid){fieldid_window = window.open('/s_editcustomfields.jsp?iswin=1&objecttype=91&opportunityid=@levelone.opportunityid@&itemlist='+roleid+'&objectid='+objectid,'field_window', 'menubar=no,scrollbars=yes,width=850,height=300,status=no,resizable=yes,top=200,left=200,dependent=yes,alwaysRaised=yes');fieldid_window.opener = window;fieldid_window.focus();} </script></pre> ===[[Transaction]] token===
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><ssEncrypt>userid,typeid</ssEncrypt></pre>
==See Also==