7 Replies Latest reply on May 14, 2014 12:04 AM by Kasyan Servetsky

    [JS] Override Alle Master Page Items

    René Mølsted Level 1

      Hi all,

      I'm trying to override all masterpage items from my script ...

      function OverrideMasterItems(CurrentPage) {
           document.pages[CurrentPage].appliedMaster.pageItems.everyItem().override(document.pages[CurrentPage]);
      }
      

      but I get "Invalid object for this request".

       

      Any hints?

       

       

      --

      molsted