Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Javascript to get the Instance server URL

rahulg1930481
Level 4
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
David__Garcia
Correct answer by
Level 8
Level 8

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
David__Garcia
Correct answer by
Level 8
Level 8

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