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

Getting the name of the master page being applied to the current page at runtime.

Avatar

Avatar
Level 1
thabelo_whitney
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
thabelo_whitney
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
thabelo_whitney
Level 1

25-11-2016

Hi There,

I have 3 master pages that are going to be applied to 3 pages respectively. They all reference the same header fragments and footer fragment

I need to populate the data on the fragment, by overriding it according to the master page being applied to it.

Please also note that the first master page is being applied onto a dynamic form. The other two pages are then generated based on the  options selected in page 1.

The generation works fine.

However I cant seem to output the name of the applied master page, using java script. I also tried using

app.activedocuments etc. it returns empty for me, so i didn't continue the code further

Is there a way to output the name of the applied master page?

Somebody..Anybody out there, please help me

View Entire Topic

Avatar

Avatar
Boost 3
Level 1
Szalam
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
Szalam
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
Szalam
Level 1

28-11-2016

Moving from The Lounge​ to a product-specific support forum.