function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cw.ax43cw.ax43 

Issuing Query in Composing Custom Link URL

Hi,
 
We need to set a Customer Link URL to a url where we need to issue a query to get information which forms part of the URL.  Is it possible to include some scripting to retrieve information and then use it in the URL if the custom link is designated as a URL?  Otherwise, is it possible to create an Scontrol of type URL where we can include some scripting along with (before) the URL itself?  Or is there some other way to achieve what we want?
 
Regards,
Len Takeuchi
Realmdynamics
cw.ax43cw.ax43

Well, I did find one way to do this and it is to create an SControl of HTML type and in the HTML have some javascript function run onLoad and in the javascript function, query for the information I need and then compose the URL and then set window.location to the url.

Len Takeuchi

Realmdynamics