Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

Filtering pages based on "Visible in menu" in Optimizely Graph

$
0
0

Hi Guys,

As we know, every page in CMS has a "Display in Navigation" option built into the CMS.

I'm creating a very simply GraphQL query for a headless implementation, and naturally I don't want to return pages that are hidden from navigation.

Correct me if I'm wrong - but it doesn't appear that this property is exposed in the GraphQL schema.

I've just ran an introspection query to fetch all available properties from a random page type and the "VisiblleInMenu" prop from the PageData class isn't exposed in the schema. Not sure if this is a bug or done intentionally for some reason. 

Any idea how I would filter based on this setting? 


Viewing all articles
Browse latest Browse all 9642

Trending Articles