File name: ai-view.extension.json
Mount location and example:
./ai-view.extension.json:/usr/share/nginx/html/assets/plugins/ai-view.extension.json
Content:
[...]
"content-metadata-presets": [
{
"id": "app.content.metadata.custom",
"custom": [
{
"id": "ai.metadata.features",
"title": "AI Data",
"items": [
{
"id": "acme:businesses",
"aspect": "acme:businesses",
"properties": "*"
},
{
"id": "acme:sports",
"aspect": "acme:sports",
"properties": "*"
},
{
"id": "acme:categories",
"aspect": "acme:categories",
"properties": "*"
},
[...]
]
}
],
[...]
}
]
The above snippet adds the aspects in the earlier Custom AI content model configuration to the existing "ai.metadata.features" list of items in the ai-view.extension.json file.
The JSON path for the new items is $.features.content-metadata-presets[:].custom[:].items.
For more details on extending the features of Digital Workspace, see the Alfresco Content Application documentation: Extending.