Difference between revisions of "Providing a Customized Hyperlink that Redirects the User to a Specific Record"

From SmartWiki
Jump to: navigation, search
Line 3: Line 3:
 
==Step by Step Instructions==  
 
==Step by Step Instructions==  
  
#Click into the record to which you want the user to be redirected upon login.
+
1. Click into the record to which you want the user to be redirected upon login.
#Ensure you are in edit mode.
+
2. Ensure you are in edit mode.
#Take note of the record's [[URL]]. An example would be as follows:  
+
3. Take note of the record's [[URL]]. An example would be as follows:  
 
  <nowiki>https://smart.smartsimple.com/Apps/app_editopportunity.jsp?nextlevel=1&appid=100073&matchlist=0&hr=0&companyid=249801&opportunityid=5778819</nowiki>
 
  <nowiki>https://smart.smartsimple.com/Apps/app_editopportunity.jsp?nextlevel=1&appid=100073&matchlist=0&hr=0&companyid=249801&opportunityid=5778819</nowiki>
 
Note that the syntax is:
 
Note that the syntax is:
 
  <nowiki>https://</nowiki>'''www.yourdomain.com'''<nowiki>/Apps/app_editopportunity.jsp?nextlevel=1&appid=</nowiki>'''[[Determining the applicationid|application ID]]'''<nowiki>&matchlist=0&hr=0&companyid=</nowiki>'''[[Determining the companyid|company ID]]'''<nowiki>&opportunityid=</nowiki>'''[[Determining the opportunityid|opportunity ID]]'''<nowiki></nowiki>'''
 
  <nowiki>https://</nowiki>'''www.yourdomain.com'''<nowiki>/Apps/app_editopportunity.jsp?nextlevel=1&appid=</nowiki>'''[[Determining the applicationid|application ID]]'''<nowiki>&matchlist=0&hr=0&companyid=</nowiki>'''[[Determining the companyid|company ID]]'''<nowiki>&opportunityid=</nowiki>'''[[Determining the opportunityid|opportunity ID]]'''<nowiki></nowiki>'''
#In a text editing program, re-order the components of the URL to the following syntax:
+
4. In a text editing program, re-order the components of the URL and edit it so that it matches the following syntax:
 
+
<nowiki>https://</nowiki>'''www.yourdomain.com'''<nowiki>/s_Login.jsp?dest=/Apps/app_editopportunity.jsp?nextlevel=1&matchlist=1&companyid=</nowiki>'''[[Determining the companyid|company ID]]'''<nowiki>&opportunityid=</nowiki>'''[[Determining the opportunityid|opportunity ID]]'''&appid='''[[Determining the applicationid|application ID]]'''
 +
5. For every character to the right of the "dest=", replace the following characters with their HTML analogues:
 +
{|class="wikitable" style="text-align: center;"
 +
|'''Replace this character...'''
 +
|'''...with this'''
 +
|-
 +
|?
 +
|%3F
 +
|-
 +
|=
 +
|%3D
 +
|-
 +
|&
 +
|%26
 +
|}
 +
The URL in your text editor should now be in the following syntax:
 +
<nowiki>https://</nowiki>'''www.yourdomain.com'''<nowiki>/s_Login.jsp?dest=/Apps/app_editopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26companyid%3D</nowiki>'''company ID'''<nowiki>%26opportunityid%3D</nowiki>'''opportunity ID'''%26appid%3D'''application ID'''
  
  
 
[[Category:Sign-Up Features]][[Category:System Management]]
 
[[Category:Sign-Up Features]][[Category:System Management]]

Revision as of 13:31, 6 June 2013

A customized login hyperlink can be created that redirects the user to a specific record after they log in.

Step by Step Instructions

1. Click into the record to which you want the user to be redirected upon login. 2. Ensure you are in edit mode. 3. Take note of the record's URL. An example would be as follows:

https://smart.smartsimple.com/Apps/app_editopportunity.jsp?nextlevel=1&appid=100073&matchlist=0&hr=0&companyid=249801&opportunityid=5778819

Note that the syntax is:

https://www.yourdomain.com/Apps/app_editopportunity.jsp?nextlevel=1&appid=application ID&matchlist=0&hr=0&companyid=company ID&opportunityid=opportunity ID

4. In a text editing program, re-order the components of the URL and edit it so that it matches the following syntax:

https://www.yourdomain.com/s_Login.jsp?dest=/Apps/app_editopportunity.jsp?nextlevel=1&matchlist=1&companyid=company ID&opportunityid=opportunity ID&appid=application ID

5. For every character to the right of the "dest=", replace the following characters with their HTML analogues:

Replace this character... ...with this
? %3F
= %3D
& %26

The URL in your text editor should now be in the following syntax:

https://www.yourdomain.com/s_Login.jsp?dest=/Apps/app_editopportunity.jsp%3Fnextlevel%3D1%26matchlist%3D1%26companyid%3Dcompany ID%26opportunityid%3Dopportunity ID%26appid%3Dapplication ID