Use the answers above if you want to set one of the default views (tabular, thumbnail, etc.), but if you want to select a specific content item for the default view for the folder, you can do this in ZMI as suggested:
- select the desired folder
- add "/ manage_propertiesForm" at the end of the URL
- in the resulting form add this property:
- name: "default_page"
- type: "string"
- value: content item identifier
or do it programmatically in Python:
content_id = "Name of the Content Item" folder.manage_addProperty('default_page', content_id, 'string')
Hope this helps!
source share