My function is not within any LLRequestHandler, is there a built-in function to get the Content Server URL?
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
do you need the full URL and querystring or just part of the URL e.g. server name ?
I need the full url, i,e, https://****.****.com/OTCS/cs.exe
OT holds that in a table for notification purposes
select * from AgentConfig
The Administrator is responsible for creating/maintaining the accuracy of that table.
This is used by Agents who are spawned and not RH, so it knows how to build the URLs
While complicated, if you are doing Oscript, you can talk with Oscript to the AdminServers, which may also reveal that info
I found the server URL in AgentConfig table, but didn't find a OScript function can return it. Also is this value being set always?
WebDSP's Request Handler Subsystem has a GetCurrentRequestHandler and a GetCurrentRequest which should give what you need
this is set in ?func=notify.config admin page
If no one needs notification to work it can remain at localhost, but if livelink is used in an organization, I would reckon someone sets the correct URL
Thanks for all your help.