- Description:
This key defines a path for files created using an option in the + Add button dropdown.
This path overrides the path for the current Collection and subfolder open in the Collection browser.
This key is useful if you need to specify a specific subfolder within a Collection.
- Appears in:
└── collections_config └── * └── add_options └── [*] └── Add Option └── base_path- Type:
string- Examples:
In this example, we want team members in the
_postsCollection to create new files in theblogsubfolder of the_draftsCollection rather than the current Collection browser they have open. By configuring thebase_pathvalue to/../_drafts/blog, new files will be created in a different Collection subfolder (i.e.,_drafts) when a team member selects this option from the + Add button dropdown.Copied to clipboardcollections_config: _posts: add_options: - name: Add draft blog icon: post_add editor: content base_path: /../_drafts/blog{ "collections_config": { "_posts": { "add_options": [ { "name": "Add draft blog", "icon": "post_add", "editor": "content", "base_path": "/../_drafts/blog" } ] } } }