Javascript to get the Instance server URL

Avatar

Avatar

rahulg1930481

Avatar

rahulg1930481

rahulg1930481

26-09-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

david_garcia1

MVP

Avatar

david_garcia1

MVP

david_garcia1
MVP

27-09-2018

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.

Answers (0)