London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi
Try setting ContentApiOptions.IncludeMetadataPropertiesPreview to true in your configuration. This should bring the field forward.
Thanks mate! ❤ You have helped me a lot :) Seems like docs for it does not exist...
services.Configure<ContentApiOptions>(o =>
{
// Makes api return content with all properties (eg VisibleInMenu)
o.IncludeMetadataPropertiesPreview = true;
});
Hello,
How can I get VisibleInMenu prop by calling {{baseUrl}}/api/episerver/v3.0/content/{{id}}/children?
In the response I can see many props but no VisibleInMenu
I'm trying to build a navigation component in the Next.JS/react by calling an Content Deliver Api v3.0 but without that information (VisibleInMenu) I'm unable to do it properly.