Difference between revisions of "Object URL Syntax"

From SmartWiki
Jump to: navigation, search
m (Usage Examples)
m (Usage Examples)
Line 23: Line 23:
 
!|<code>identifier</code>
 
!|<code>identifier</code>
 
!|Example with result underneath
 
!|Example with result underneath
!|Notes
 
 
|-
 
|-
 
||Signup Page
 
||Signup Page
Line 32: Line 31:
  
 
||
 
||
 +
'''User Page Example:'''
 +
 
<code>@ssurl(signup,view,169542userpage)@</code>
 
<code>@ssurl(signup,view,169542userpage)@</code>
  
 
/s_signup.jsp?token=XVtQC1oGZlBfRxddXxdSQUlSZ1R9Ew%3D%3D
 
/s_signup.jsp?token=XVtQC1oGZlBfRxddXxdSQUlSZ1R9Ew%3D%3D
  
 +
 +
'''Organization Page Example:'''
  
 
<code>@ssurl(signup,view,169542page1)@</code>
 
<code>@ssurl(signup,view,169542page1)@</code>
Line 41: Line 44:
 
/s_csignup.jsp?token=XVtQHUUGZV1YShBFQhdQXlZSZVxy
 
/s_csignup.jsp?token=XVtQHUUGZV1YShBFQhdQXlZSZVxy
  
 +
 +
'''Single User + Organization Page Example: '''
  
 
<code>@ssurl(signup,view,169542page2)@</code>
 
<code>@ssurl(signup,view,169542page2)@</code>
Line 48: Line 53:
 
&ptoken=XVtQC1oGZlBeQBNZXxdSQUlTYFZzEg%3D%3D
 
&ptoken=XVtQC1oGZlBeQBNZXxdSQUlTYFZzEg%3D%3D
  
 +
 +
'''Multiple Users + Organization Page Example: '''
  
 
<code>@ssurl(signup,view,169542page3)@</code>
 
<code>@ssurl(signup,view,169542page3)@</code>
  
 
/s_csignup.jsp?token=XVtQHUUGbFxcRhRRXxdSQUlSZ1R9Eg%3D%3D
 
/s_csignup.jsp?token=XVtQHUUGbFxcRhRRXxdSQUlSZ1R9Eg%3D%3D
 
||
 
The examples listed are:
 
 
- user page, org page, org page + single user, org page + multi user
 
 
Signup page names are unique across both org and user pages.
 
 
If you have a user page named "mypage" then you cannot create an org page with nme "mypage"
 
  
 
|-
 
|-
Line 74: Line 72:
 
/iface/uta/uta_list.jsp?appid=102161
 
/iface/uta/uta_list.jsp?appid=102161
  
||Row 2, Cell 6
 
 
|-
 
|-
 
||
 
||
Line 87: Line 84:
 
/Apps/app_editopportunity.jsp?appid=102161<br />&opportunityid=0
 
/Apps/app_editopportunity.jsp?appid=102161<br />&opportunityid=0
  
||Row 3, Cell 6
 
 
|-
 
|-
 
||
 
||
Line 102: Line 98:
 
/ex/ex_Apppage.jsp?token=HwwPRhMGZVla
 
/ex/ex_Apppage.jsp?token=HwwPRhMGZVla
  
||Row 4, Cell 6
 
 
|-
 
|-
 
||
 
||
Line 117: Line 112:
 
/Apps/db/db_impact.jsp?impactid=@Hw0ERBkfbV5bQRRQRh8~
 
/Apps/db/db_impact.jsp?impactid=@Hw0ERBkfbV5bQRRQRh8~
  
||Row 5, Cell 6
 
 
|-
 
|-
 
||Report
 
||Report
Line 128: Line 122:
 
/userreport/ur_openreport.jsp?reportid=44372
 
/userreport/ur_openreport.jsp?reportid=44372
  
||Row 6, Cell 6
 
 
|-
 
|-
 
||Report Chart
 
||Report Chart
Line 136: Line 129:
 
Report Name, Chart Name
 
Report Name, Chart Name
  
||
+
||'''Client-Side Chart Example:'''<br />
 
<code>@ssurl(reportchart,view,169542report;;chart1)@</code>
 
<code>@ssurl(reportchart,view,169542report;;chart1)@</code>
  
Line 145: Line 138:
 
&rootcompany=GGZzFn0FZhk8JRocHGdIBBI7EzUSYAcDH2JcUg~~
 
&rootcompany=GGZzFn0FZhk8JRocHGdIBBI7EzUSYAcDH2JcUg~~
  
 +
 +
'''Server-Side Chart Example:'''
  
 
<code>@ssurl(reportchart,view,169542report;;chart2)@</code>
 
<code>@ssurl(reportchart,view,169542report;;chart2)@</code>
Line 152: Line 147:
 
&codedid=YnoRF35kEjwDHm0DMUQMNQ0kZwcdHTgRH2JdUEJC
 
&codedid=YnoRF35kEjwDHm0DMUQMNQ0kZwcdHTgRH2JdUEJC
  
||Row 7, Cell 6
 
 
|-
 
|-
 
||
 
||
Line 162: Line 156:
 
Dashboard Name
 
Dashboard Name
  
||Row 8, Cell 5
+
||
||Row 8, Cell 6
+
<code>@ssurl(dashboard,view,169542dashboard)@</code>
 +
 
 +
/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.
 +
 
 
|-
 
|-
 
||
 
||
Line 173: Line 173:
 
SmartFolder Name
 
SmartFolder Name
  
||Row 9, Cell 5
+
||
||Row 9, Cell 6
+
<code>@ssurl(smartfolder,view,169542folder)@</code>
 +
 
 +
/s_editresource.jsp?display=1&resourceid=68826
 +
 
 
|-
 
|-
 
||
 
||
Line 182: Line 185:
 
||viewinet
 
||viewinet
 
||SmartFolder Name
 
||SmartFolder Name
||Row 10, Cell 5
+
||
||Row 10, Cell 6
+
<code>@ssurl(smartfolder,viewinet,169542folderinet)@</code>
 +
 
 +
/files/113/68827/169542folderinet/
 +
 
 
|-
 
|-
 
||Autoloader - Dropbox
 
||Autoloader - Dropbox
Line 189: Line 195:
 
||dropbox
 
||dropbox
 
||Autoloader Name
 
||Autoloader Name
||Row 11, Cell 5
+
||
||Row 11, Cell 6
+
<code>@ssurl(autoloader,dropbox,169542autoloader)@</code>
 +
 
 +
/Archive/al_upload.jsp?loader
 +
 
 
|-
 
|-
 
||AI Insight
 
||AI Insight
Line 196: Line 205:
 
||view
 
||view
 
||Name
 
||Name
||Row 12, Cell 5
+
||
||Row 12, Cell 6
+
<code>@ssurl(aiinsight,view,169542_AI_Global)@</code>
 +
 
 +
/AI/ai_workingwithai.jsp?token=%40HwwMTxwbeFhFQhFFQRxZQVVTZFV1G3BhHQ~~
 +
 
 
|}
 
|}

Revision as of 10:32, 26 March 2025

Overview

We’ve introduced the following new syntax to dynamically resolve URLs for various system objects and actions: @ssurl(objecttype,action,identifier)@. This syntax allows configuration settings to reference system objects through variables.

Syntax

The general format of the syntax is the following:

@ssurl(objecttype,action,identifier)@

  • The "identifier" parameter may consist of more than 1 object. Multiple objects can be separated by using double semicolons ( ;; ) as a delimiter.
  • For some objects, the system enforces unique naming. For example, if you create an autoloader named "MyAutoloader", it is possible to create another autoloader also named "MyAutoloader". In these situations, we will simply return the object with lower ID.

Note: Configuration should avoid these scenarios to begin with.

Usage Examples

See table below: 

Description objecttype action identifier Example with result underneath
Signup Page signup view

Signup Page Name

User Page Example:

@ssurl(signup,view,169542userpage)@

/s_signup.jsp?token=XVtQC1oGZlBfRxddXxdSQUlSZ1R9Ew%3D%3D


Organization Page Example:

@ssurl(signup,view,169542page1)@

/s_csignup.jsp?token=XVtQHUUGZV1YShBFQhdQXlZSZVxy


Single User + Organization Page Example: 

@ssurl(signup,view,169542page2)@

/s_csignup.jsptoken=XVtQHUUGbFxRQhFaXxdSQUlSZ1R9HQ%3D%3D

&ptoken=XVtQC1oGZlBeQBNZXxdSQUlTYFZzEg%3D%3D


Multiple Users + Organization Page Example: 

@ssurl(signup,view,169542page3)@

/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,169542report)@

/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~~