Trees & Workspaces
How Tree Items navigate to Workspaces when clicked in Umbraco
How Tree Items Connect to Workspaces
Workspace Kind: Routable vs Default
// Tree Item Manifest
{
type: 'treeItem',
kind: 'default',
alias: 'My.TreeItem',
forEntityTypes: ['my-custom-item'],
}
// Workspace Manifest - MUST be routable for Tree navigation
{
type: 'workspace',
kind: 'routable',
alias: 'My.Workspace',
name: 'My Custom Item Workspace',
api: () => import('./my-custom-item-workspace.api.js'),
meta: {
entityType: 'my-custom-item', // Must match Tree Item entityType
},
}Common Issues
Related
Last updated
Was this helpful?