I have added buttons to a cross company dashboard enabling me to jump to a case in another company. Works OK, would rather construct the url string and display one of my columns as a hyperlink that used the url than have them select a row then click a button… but nevermind.
eg url jumping to case entry for case number 2240 looks something like:
My question: Can I get the servername and especially the environment from application studio? I’m developing this in pilot, but when it gets moved to production or back to test, I don’t want to forget to change all my urls, and have users accidentally jumping between different environments. Yikes.
I’ve looked at the constants dataview; can’t find anything there.
I guess I could set this up in a UD table per environment; or is there any other way to set up “environment-global” variables I’ll be able to evaluate using {dataview.column} syntax?
I think I have also seen ?[plant] somewhere to get the current site, maybe something like that would work?
It seems to do the http check before evaluating anything, so
if I use a TransView variable and evaluate it (and I was using the sessionifno to build it including the Base url), ie url-open Parameters, Url: {TransView.OpenCaseUrl}, I get