Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Javascript to get the Instance server URL

Avatar

Level 4

Hi

I am using Adobe Campaign Classic v6.7. I want to write a javascript to get the serverl url of my instance in an workflow.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Rahul,

You can query it from the options or get the instance name also

logInfo("http://"+instance.hostname);

logInfo(getOption("NmsServer_URL"));

Here are other options available;

  1. NmsServer_IntranetURL
  2. NmsServer_MirrorPageUrl
  3. NmsTracking_SecureServerUrl
  4. NmsTracking_ServerUrlList

i.e.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi Rahul,

You can query it from the options or get the instance name also

logInfo("http://"+instance.hostname);

logInfo(getOption("NmsServer_URL"));

Here are other options available;

  1. NmsServer_IntranetURL
  2. NmsServer_MirrorPageUrl
  3. NmsTracking_SecureServerUrl
  4. NmsTracking_ServerUrlList

i.e.