Some times we need to change the structure of our Dam, that is simple thing but to change the references of those assets on every page where ever we used the same, is so difficult.
In this blog, I am going to tell you that how to move assets/page from one folder to other folder and reference also will be changed automatically.
To achieve this, we need ACS Commons package 3.19.0
Dam asset movement can be done using MCP Tools - Renovator.
Follow below step to perform it:
1. Go to Tools → ACS AEM Commons → Managed Controlled Processes
In the start process dialog, the source and destination fields allow moving one page or one folder or one image(as well as all the children). If you want to list a lot more sources and destinations, a simple spreadsheet can be prepared with that list as such:
1. Create a new spreadsheet (the file name does not matter but it needs to be of type XLSX)
2. In the first row, set the first two columns to “Source” and “Destination” respectively. Order doesn’t matter, and also if there are other columns they are ignored.
3. For each move, add a row that specifies the source and destination of the move you want. It is possible to list multiple sources that all have the same destination (merge folders) but you should not try to move the same source folder to multiple destinations. That’s just silly.
4. Save the file as an XSLX spreadsheet and close Excel (this step is important)
5. When starting the Renovator process, leave source and destination blank and provide the spredsheet for the “Multiple Moves” field.
6. Set all other fields as needed, it is recommended to use a dry run the first time in order to validate the file as well as report what will be affected.
In this blog, I am going to tell you that how to move assets/page from one folder to other folder and reference also will be changed automatically.
To achieve this, we need ACS Commons package 3.19.0
Dam asset movement can be done using MCP Tools - Renovator.
Follow below step to perform it:
1. Go to Tools → ACS AEM Commons → Managed Controlled Processes
2. When you click on the same Managed Controlled Processes dashboard will open. Click on "Start Process" button.
3. On clicking "Start Process" button, process list will open, select "Renovator" process from the list.
4. On selecting Renovator process , following screen will display :
- Multiple moves: If desired, multiple moves can be specified in a spreadsheet instead of moving one folder at a time. This is explained below.
- Source: The page, folder, or asset being moved and/or renamed
- Destination: The full path of the destination for the folder or page. This must include the desired name. If you want to retain the current name then make sure destination ends with that same name. Otherwise, change as desired.
- Max references: The maximum number of references to evaluate per page. -1 defaults to all (recommended)
- Publish mode: You can use MCP to publish affected live content (self managed), defer to the standard product queue, or disable publishing (none).
- Create versions: If checked a page content affected by republishing will create a new version.
- Update status: If checked, node metadata for last published will be updated.
- Extensive ACL Checks: If checked, every child node is evaluated during step 1 (this can get very expensive for large trees!). If unchecked, only base nodes are evaluated, such as the base node of each asset or page but not the children such as metadata or component nodes. Recommended: Leave it unchecked.
- Dry Run: If checked, no moves or publish operations happen but the report is generated, and ACL checks are performed. This lets you see what will be affected by this operation.
- Detailed Report: If checked, the final report will list all content moved by the process. If unchecked, only summary counts are provided.
5. Now I will show you how to fill this Renovator process and what will be change and how reference will be change automatically.
First, I am going to show you my page dialog where I am using image path to which I am going to change from Renovator.
As you can see highlighted part in dialog where we are using this path "/content/dam/dcu/global/home/images/..".
Now I will move all the images from /dcu/global/home/images/.. to /content/dam/dcu/gaurav/images/..
So, lets fill the process dashboard:
Click on start button. it will take few millisecond to move. Now, If you will see in your dam structure, all the images from /content/dam/dcu/global/home/images has been moved to dam/dcu/gaurav/images.
Now, if you will check on your page or dialog where you used these images the References of all the images should be change.
Multiple Moves:
In the start process dialog, the source and destination fields allow moving one page or one folder or one image(as well as all the children). If you want to list a lot more sources and destinations, a simple spreadsheet can be prepared with that list as such:
1. Create a new spreadsheet (the file name does not matter but it needs to be of type XLSX)
2. In the first row, set the first two columns to “Source” and “Destination” respectively. Order doesn’t matter, and also if there are other columns they are ignored.
3. For each move, add a row that specifies the source and destination of the move you want. It is possible to list multiple sources that all have the same destination (merge folders) but you should not try to move the same source folder to multiple destinations. That’s just silly.
4. Save the file as an XSLX spreadsheet and close Excel (this step is important)
5. When starting the Renovator process, leave source and destination blank and provide the spredsheet for the “Multiple Moves” field.
6. Set all other fields as needed, it is recommended to use a dry run the first time in order to validate the file as well as report what will be affected.
Excel format will be like below image:
Be Happy 😊



