Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Restoring deleted components

Avatar

Avatar
Level 1
Bogomila
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
Bogomila
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
Bogomila
Level 1

11-05-2020

Hi, how can you restore a deleted component on Adobe Experience Manager 6.4.3.0 - for example an HP banner?

 

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

236 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

236 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
MVP

12-05-2020

Hi,

I'm a bit confused about what you mean exactly.

Do you want to:

  1. Restore a component that was deleted from a project? EG: /apps/yoursite/components/componentA. If so, as @Veena_Vikram says, you need to roll-back to a previous version of your applicative code. You can do this by either:
    • Reverting to a previous version of your application code. If your code is not in version control then... I don't know what to say.
    • Re-installing the last application package via CRX Package Manager
  2. Restore a component that was deleted from a  page? EG: /content/yoursite/home/jcr:content/componentB. If so, then you have a few options (depending on the scenario):
    • If the new (wrong) content has not yet been published, you can retrieve it from the publisher(s) by creating a package on the Publisher and installing it on the Author environment.
    • If you make use of AEM OOTB versioning system, you can simply revert to a previous version (see this documentation)
    • If you have a content export system towards lower environment (eg: your PROD content is exported every day such that your UAT/Staging content is always at n-1 days behind PROD) you can retrieve it from the lower environments with the packaging method mentioned above.
    • If your content was overwritten by a package install, you can un-install the package via CRX Package Manager (see this documentation).

 

Answers (3)

Answers (3)

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

152 likes

Total Posts

363 posts

Correct Reply

56 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

152 likes

Total Posts

363 posts

Correct Reply

56 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

13-05-2020

Hi,

Can you let us know whether you are asking component which is under apps or the component which is content authored on a page?

1. If it's in apps you cant get it back and for that you should have code in git /svn from where you can get it back.

2. If its on the page then you can get the versioned page back if you have created a version for that page and from there you can retrieve the component content.

I hope it helps.

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

12-05-2020

You can't restore the deleted content. But you can retrieve in one of the below ways:

Page Versioning:

1. Create a version for your page

2. Revert this back to previous version (not the one you've created) and then copy the component if exits to another page

3. Now, you can revert back to the version you created and copy the component

 

Get it from Publish servers:

If you have published this page with the component then you can package only the component content (not the entire page) and bring it back to author.

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

449 likes

Total Posts

1,024 posts

Correct Reply

116 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

449 likes

Total Posts

1,024 posts

Correct Reply

116 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

11-05-2020

@Bogomila  AFAIK , once a component is deleted , you cannot retrieve it from repository. The only way you can do it is if your code is maintained in any version control system.