Re: [topbraid-users] Dynamically obtain server/domain name on SWON service

2019-10-27 Thread Richard Cyganiak
Hi William, As Holger said, the best way to handle this is by setting the serverURL in the configuration. Besides using smf:configParam to read the value of the setting, it can also be done using ui:createLink. That is a control element that creates an URL and assigns it to the variable ?link

Re: [topbraid-users] Dynamically obtain server/domain name on SWON service

2019-10-23 Thread Holger Knublauch
Hi William, one thing to try would be the server URL config parameter (admin page): You can query that value using smf:configParam("serverURL"). Alternatively, if changing this value has undesired side effects, you could probably make up another triple somewhere, e.g. by uploading a TTL file

[topbraid-users] Dynamically obtain server/domain name on SWON service

2019-10-23 Thread William Ramos
Hi, community; I have a SWON service where I'm generating a value as a URL which should be based on the server where the SWON service is running. The company where I work has three different servers/domains: dev.company.com test.company.com prod.company.com So, for example if I'm running the SW