Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

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

$
0
0

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


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>