I am currently trying to control the visibility of a module ui screen based on the type of page. I currently am using the following for the Visibility under the Element Restrictions in the User Interface for a module I created.(CurrentDocument.NodeClass.ClassName == @EPP.Presentation@)Basically, I have updated the Pages UI section to show a tab for presentation to capture presentation times. It is a business requirement that when the user creates the presentation page, that I collect the list of times and associated metadata at the same time.
When I use the macro, in the visibility section of the module ui, the tab never displays. If I put the same logic in the page itself using an html editor, the value is true for any document that has a page type of EPP.Presentation. Why does this not work in the visibilty of the module ui?
↧