Framemaker ESTK - Apply master page "None"
I want the second page of my document to be blank - no headers or footers. If I manually go to Format>Page Layout>Master Page Usage>Custom - There is an option called None which achieve this.
I have the following script:
function ApplyMasterPages(doc)
{
var bodyPage = doc.FirstBodyPageInDoc;
bodyPage.ApplyPageLayout(doc.GetNamedMasterPage('Cover Page'));
bodyPage = bodyPage.PageNext;
bodyPage.ApplyPageLayout(doc.GetNamedMasterPage('None'));
}
It doesn't give me an error, but it doesn't remove the headers and foolters either.
I realize I could create a new Master Page without headers or footers and name it "Empty" and apply that it would probably work, but that seems redundant when the built-in option "None" should work.
Thanks for the assistance!
