[Solved] How to programmaticaly add custom content type to navbar?

this should do what you want:

<!-- registry.xml in your profile folder -->
<record name="plone.displayed_types" interface="Products.CMFPlone.interfaces.controlpanel.INavigationSchema" field="displayed_types">
  <value purge="False">
    <element>Your CT</element>
  </value>
</record>
1 Like