App extension - App extension - Alfresco - Alfresco Intelligence Services - Alfresco/Alfresco-Intelligence-Services/1.4/Alfresco-Intelligence-Services/Alfresco-Intelligence-Services/Configure/Custom-configuration-Comprehend/Step-4.-Configure-Share-and-Digital-Workspace-to-use-a-custom-model/Digital-Workspace/App-extension - 1.4

Alfresco Intelligence Services

Platform
Alfresco
Product
Alfresco Intelligence Services
Release
1.4
ft:lastPublication
2026-05-06T19:18:15.398000
ft:locale
en-US
ArchiveStatus
Archived

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.