Developer forum

Forum » Feature requests » dwapi/content/pages hide in menu pages not in response

dwapi/content/pages hide in menu pages not in response

Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

I am wondering if you can return pages that are marked as "Hide in menu" to us so that we can actually use them in the front end but hide it in the navigation menu? We would really want this for our headless solutions because right now "Hide in menu" and "Unpublished" are just the same based on the results from the API.

Regards.


Replies

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

Does anyone want to respond to this? As of now we solved it by using the clickabe field to hide/show a page in the navigation.

I see that in my response for get page by Id I get the field as false when the page is published, but when it is unpublished or hide in menu, I get the response "The page is not published" which is a lie since it is just hide in menu.

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

Never mind my second reply, the field I was reading was something we were providing via custom page settings and it just had the same name.