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

Javascript to get the Instance server URL

Avatar

Avatar
Validate 10
Level 2
rahulg1930481
Level 2

Likes

7 likes

Total Posts

46 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rahulg1930481
Level 2

Likes

7 likes

Total Posts

46 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
rahulg1930481
Level 2

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
Springboard
Level 6
David__Garcia
Level 6

Likes

106 likes

Total Posts

192 posts

Correct Reply

44 solutions
Top badges earned
Springboard
Establish
Validate 10
Coach
Contributor
View profile

Avatar
Springboard
Level 6
David__Garcia
Level 6

Likes

106 likes

Total Posts

192 posts

Correct Reply

44 solutions
Top badges earned
Springboard
Establish
Validate 10
Coach
Contributor
View profile
David__Garcia
Level 6

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)