Replace existing extension - Replace existing extension - Alfresco - Alfresco Digital Workspace - Alfresco/Alfresco-Digital-Workspace/2.9/Alfresco-Digital-Workspace/Alfresco-Digital-Workspace/Develop/Build-extensions/How-to-create-an-extension/Replace-existing-extension - 2.9

Alfresco Digital Workspace

Platform
Alfresco
Product
Alfresco Digital Workspace
Release
2.9
ft:lastPublication
2026-05-06T17:26:10.736760
ft:locale
en-US
ArchiveStatus
Archived

You can replace an existing extension with a new one you have created. To achieve this you must have an existing extension called my-extension, and its structure must be compliant with the content and structure of the current projects/my-extension file.

  1. Run the following command from a command prompt from inside the root folder of the Digital Workspace project:

    nx g @nrwl/angular:lib my-extension
    

    Note

    Ensure you use the same name as the existing extension, in this example it's called my-extension.

Once complete, delete the content of the libs/my-extension directory, and replace it with the source code of the new Digital Workspace extension.