Hi,I am trying to create a macro in the CMS scopes under a particular starting path achieve the following function:
I have a custom field @OfficeID@ on a user. I need to be able to restrict visibility in the the pages application Tree to only show pages to that user of type @custom.office@ that have the same OfficeID as the OfficeID assigned to the user. So something like:DocumentHelper.GetDocuments().Where(ClassName = @custom.Office@).Where(Document.GetValue(@OfficeID@) = CurrentUser.OfficeID)Could anybody help?
↧