Difference between revisions of "Object URL Syntax"

From SmartWiki
Jump to: navigation, search
m (Usage Examples)
m (Usage Examples)
Line 160: Line 160:
  
  
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.
+
'''<u>Note:</u>''' 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.
  
 
|-
 
|-

Revision as of 10:39, 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 Examples with Resolved Results
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,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~~