Difference between revisions of "Object URL Syntax"

From SmartWiki
Jump to: navigation, search
(Usage Examples)
(Usage Examples)
Line 14: Line 14:
  
 
==Usage Examples==
 
==Usage Examples==
See the table below for supported variable syntax.  
+
See the table below for supported variable syntax.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 27:
 
||signup
 
||signup
 
||view
 
||view
||
+
||Signup Page Name
Signup Page Name
 
 
 
||
 
'''User Page Example:'''
 
 
 
<code>@ssurl(signup,view,169542userpage)@</code>
 
  
 +
||'''User Signup Page Example:'''
 +
<code>@ssurl(signup,view,name)@</code>
 
/s_signup.jsp?token=XVtQC1oGZlBfRxddXxdSQUlSZ1R9Ew%3D%3D
 
/s_signup.jsp?token=XVtQC1oGZlBfRxddXxdSQUlSZ1R9Ew%3D%3D
  
  
'''Organization Page Example:'''
+
'''Organization Signup Page Example:'''
 
+
<code>@ssurl(signup,view,name)@</code>
<code>@ssurl(signup,view,169542page1)@</code>
 
 
 
 
/s_csignup.jsp?token=XVtQHUUGZV1YShBFQhdQXlZSZVxy
 
/s_csignup.jsp?token=XVtQHUUGZV1YShBFQhdQXlZSZVxy
  
  
 
'''Single User + Organization Page Example: '''
 
'''Single User + Organization Page Example: '''
 
+
<code>@ssurl(signup,view,name)@</code>
<code>@ssurl(signup,view,169542page2)@</code>
 
 
 
 
/s_csignup.jsptoken=XVtQHUUGbFxRQhFaXxdSQUlSZ1R9HQ%3D%3D&ptoken=XVtQC1oGZlBeQBNZXxdSQUlTYFZzEg%3D%3D
 
/s_csignup.jsptoken=XVtQHUUGbFxRQhFaXxdSQUlSZ1R9HQ%3D%3D&ptoken=XVtQC1oGZlBeQBNZXxdSQUlTYFZzEg%3D%3D
  
  
 
'''Multiple Users + Organization Page Example: '''
 
'''Multiple Users + Organization Page Example: '''
 
+
<code>@ssurl(signup,view,name)@</code>
<code>@ssurl(signup,view,169542page3)@</code>
 
 
 
 
/s_csignup.jsp?token=XVtQHUUGbFxcRhRRXxdSQUlSZ1R9Eg%3D%3D
 
/s_csignup.jsp?token=XVtQHUUGbFxcRhRRXxdSQUlSZ1R9Eg%3D%3D
  

Revision as of 11:29, 26 March 2025

Overview

Designed for internal staff and partners, we’ve introduced a syntax that dynamically resolves URLs for various system objects and actions. This allows configuration teams to reference system objects using variables, streamlining setup when cloning new systems. Previously, configuration teams had to manually adjust URLs due to unique attributes like IDs which differ in cloned systems. Now, with this new syntax, links to assets such as login and signup pages, report charts, submit buttons, and portal sections will automatically point to the correct system asset after cloning without requiring manual intervention.

Syntax

The general format of the syntax is the following:

@ssurl(objecttype,action,identifier)@

  • The "objecttype" is the type of object being referenced, example "Signup".
  • The "Action" is the thing being done or opened, example “View” or "Creatlevelone"
  • The "identifier" is the name of the thing being referenced, example the name you have given a sign-up page or an autoloader. If there are multiple identifier objects, separate them using double semicolons ( ;; ) as a delimiter. Note configuration teams should ensure all objects should have a unique identifier (name). if you create two autoloaders with the same name the system will only return the autoloader with the lower ID.

Note: there should be no spaces between commas and action or identifier.

Usage Examples

See the table below for supported variable syntax.

Description objecttype action identifier Examples with Resolved Results
Signup Page signup view Signup Page Name User Signup Page Example:

@ssurl(signup,view,name)@ /s_signup.jsp?token=XVtQC1oGZlBfRxddXxdSQUlSZ1R9Ew%3D%3D


Organization Signup Page Example: @ssurl(signup,view,name)@ /s_csignup.jsp?token=XVtQHUUGZV1YShBFQhdQXlZSZVxy


Single User + Organization Page Example:  @ssurl(signup,view,name)@ /s_csignup.jsptoken=XVtQHUUGbFxRQhFaXxdSQUlSZ1R9HQ%3D%3D&ptoken=XVtQC1oGZlBeQBNZXxdSQUlTYFZzEg%3D%3D


Multiple Users + Organization Page Example:  @ssurl(signup,view,name)@ /s_csignup.jsp?token=XVtQHUUGbFxcRhRRXxdSQUlSZ1R9Eg%3D%3D

UTA - Main List View

uta listview UTA Name

@ssurl(uta,listview,TrSecondUTA)@

/iface/uta/uta_list.jsp?appid=102161

UTA - Create Level One

uta createlevelone UTA Name

@ssurl(uta,createlevelone,TrSecondUTA)@

/Apps/app_editopportunity.jsp?appid=102161
&opportunityid=0

UTA - Template Page

uta templatepage

UTA Name, Type Name

@ssurl(uta,templatepage,TrSecondUTA;;L1typeB)@

/ex/ex_Apppage.jsp?token=HwwPRhMGZVla

UTA - Impact Quadrant

uta impactquadrant

UTA Name, Quadrant Name

@ssurl(uta,impactquadrant,TrSecondUTA;;MyQuadrant)@

/Apps/db/db_impact.jsp?impactid=@Hw0ERBkfbV5bQRRQRh8~

Report report view Report Name

@ssurl(report,view,reportname)@

/userreport/ur_openreport.jsp?reportid=44372

Report Chart reportchart view

Report Name, Chart Name

Client-Side Chart Example:

@ssurl(reportchart,view,169542report;;chart1)@

/ex/ex_highchart.jsp?enc=1&chartid=H3ZfFAVpLgcxAVQ8GFAMERALMTY1QRYeH2JdUEJB

&reportid=f1oJDE4bexInFm8TRRYqIxEmPA8rbTAKH2dZUkVG

&rootcompany=GGZzFn0FZhk8JRocHGdIBBI7EzUSYAcDH2JcUg~~


Server-Side Chart Example:

@ssurl(reportchart,view,169542report;;chart2)@

/servlet/wChartwidth=300&height=200

&codedid=YnoRF35kEjwDHm0DMUQMNQ0kZwcdHTgRH2JdUEJC

Report Dashboard

dashboard view

Dashboard Name

@ssurl(dashboard,view,169542dashboard)@

/userreport/ur_viewdb.jsp?dashbid=2348


Note: Even though dashboards are configured in the Reports area of the system, a dashboard does not seem to belong to any specific report, which is why we don't need to specify a report name in the identifier.

SmartFolder (View)

smartfolder view

SmartFolder Name

@ssurl(smartfolder,view,169542folder)@

/s_editresource.jsp?display=1&resourceid=68826

SmartFolder - View (Internet Enabled)

smartfolder viewinet SmartFolder Name

@ssurl(smartfolder,viewinet,169542folderinet)@

/files/113/68827/169542folderinet/

Autoloader - Dropbox autoloader dropbox Autoloader Name

@ssurl(autoloader,dropbox,169542autoloader)@

/Archive/al_upload.jsp?loader

AI Insight aiinsight view Name

@ssurl(aiinsight,view,169542_AI_Global)@

/AI/ai_workingwithai.jsp?token=%40HwwMTxwbeFhFQhFFQRxZQVVTZFV1G3BhHQ~~