Wanted to deploy Content Fragment extension to Production Workspace | Community
Skip to main content
Level 7
July 1, 2025
Solved

Wanted to deploy Content Fragment extension to Production Workspace

  • July 1, 2025
  • 1 reply
  • 658 views

Hello Team,

 

I have an Content Fragment Extension project. Earlier, I have deployed this to Development, Stage and Production workspace. AEM admin has approved the Production workspace. Now the Production workspace status is "Published".

 

Now, I have modified the project logic. When I try to deploy the project(using the command: aio app deploy) to "Production" workspace, getting below mentioend issue.

This application is published and the current workspace is Production, deployment will be skipped. You must first retract this application in Adobe Exchange to deploy updates.

 

Can anyone aware of this process? Where AEM admin can do this step? My team is not aware of this process and where to retract the application. If possible, can someone pass me the snapshot to retract the application process?

 

Thanks in advance.

cc @arunpatidar  @partyush  @amitvishwakarma  @sarav_prakash 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 1, 2025
Level 7
July 1, 2025

Thanks a lot @arunpatidar  for your quick response. 

I have 1 more query here.

1: I have Adobe IO runtime project, that is deployed to "Production" workspace. This got approved. Status is "Published". Note: This is micro service project, written in NodeJS.

Then, developer has modified the logic. He was able to deploy the code to "Production" workspace using the command: aio app deploy. He didnot faced the issue during re-deploy to "Production" workspace, even though the status is "Published".

 

Where as in my case, Project is : Content Fragment Extension project" app.config.yaml file has below details.  ( Obviosly this is separate Adobe IO project with Development, Stage, Production workspace. )

extensions: aem/cf-editor/1: $include: src/project-folder/ext.config.yaml

But, in my case, I am getting the error that I have mentioned earlier.

So, wanted to know the difference between these 2 projects. Difference between these 2 Adobe IO Runtime project.

Thanks

partyush
Community Advisor
Community Advisor
July 3, 2025

Hi @mahesh_gunaje 

 

The key difference lies in the type of project and its deployment lifecycle:

Content Fragment Extension Project:

  • Configuration: Your app.config.yaml includes:
    extensions: aem/cf-editor/1: $include: src/project-folder/ext.config.yaml
      • Nature: This is an AEM Content Fragment Extension, a specialized type of Adobe IO Runtime project designed to extend AEM functionality (e.g., custom editors for Content Fragments).
      • Lifecycle: Extensions are integrated into AEM and often published via Adobe Exchange. Once published, they require retraction before updates can be deployed to maintain stability and ensure compatibility with AEM’s ecosystem. This involves an approval process and a marketplace-like management system.
      • Behavior: When "Published," updates are blocked until the extension is retracted from Adobe Exchange, as seen in your error message.
    1. NodeJS Microservice Project:
      • Configuration: This is a standard Adobe IO Runtime project, not an extension (no extensions section in its app.config.yaml).
      • Nature: This is a general-purpose microservice running on Adobe IO Runtime, independent of AEM-specific extension mechanics.
      • Lifecycle: Regular runtime projects don’t typically go through Adobe Exchange or an approval/publication process for deployment. You can directly update the Production workspace without retraction, as long as you have the necessary permissions.
      • Behavior: The developer can redeploy updates using aio app deploy without restrictions, even when the status is "Published," because it’s not tied to the extension lifecycle.

    Why the Difference?

    • Extensions vs. Runtime Projects: Extensions (like your Content Fragment project) are tightly coupled with AEM and Adobe Exchange, enforcing a stricter update process to ensure they work seamlessly within AEM’s UI and ecosystem. Regular runtime projects (like the microservice) are standalone and have a simpler deployment model.
    • Publication Process: Extensions are published to Adobe Exchange, requiring retraction for updates, while regular runtime projects don’t involve this step.

     

    For the Content Fragment Extension Project

    1. Log into Adobe Exchange with your developer account.
    2. Navigate to the developer section (e.g., "My Exchange" or "Developer Console").
    3. Locate your Content Fragment Extension.
    4. Retract or unpublish it using the available option.
    5. Run aio app deploy to update the Production workspace.
    6. Resubmit for approval if needed to republish it.

     

    Understanding the Difference

    • Your Content Fragment Extension requires retraction because it’s an AEM extension managed through Adobe Exchange.
    • The NodeJS microservice project skips this step because it’s a standard runtime project with no extension-specific constraints.

     

     

    Thanks 

    Partyush