Page Include "Page Assignment" for Other Situation?

  • 1
  • Idea
  • Updated 4 years ago
  • Implemented
  • (Edited)
The Page Include type of "Page Assignment" is really cool! But...I would love to have the ability to use the "Other Situation" page assignments here!

A specific use case would be lists of items & and applicable actions that only users in specific roles should be able to take.
We have a page for each of these roles' lists, and can just render page includes conditionally... but it feels like adding page assignments for each would make things very clean & easy to plug into any page!
Photo of Pat Hicks

Pat Hicks

  • 898 Points 500 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,014 Points 20k badge 2x thumb
Pat, if you go into the XML for the page and find the corresponding <includepanel />  component, you can set objecttype to an "Other Situation", e.g.

<includepanel objecttype="SiteHome" actiontype="Tab"/>
Photo of Pat Hicks

Pat Hicks

  • 898 Points 500 badge 2x thumb
Awesome! Thanks Zach. 
I feel like I was already made aware of this, but forgot. 
Very cool.