Expand my Community achievements bar.

SOLVED

How to automate creation of /etc/map url shortening rules ?

Avatar

Community Advisor

It's quite repetitive to copy/paste and modify /etc/map mappings for each environment as well as publisher/dispatcher and author, since content everywhere is almost the same.

Is there a tool already that allows to automate the mapping process for instances and paths generation under /etc/map folder  ?

Thanks,

Peter

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You can create the workflow launcher with a custom workflow process step that would copy the nodes from one etc map location to another and replicate if required.

But without writing some custom script there is no possible way of auto copy nodes from one location to another.

- Runal

View solution in original post

2 Replies

Avatar

Level 10

There is no out of the box tool to automate mapping rules in AEM. 

http://docs.adobe.com/docs/en/cq/5-6-1/deploying/resource_mapping.html

Since these are nodes you are setting in CRXDE lite - you can look at the possibility of writing a custom AEM service that creates these sling:Mapping nodes. 

Avatar

Correct answer by
Community Advisor

You can create the workflow launcher with a custom workflow process step that would copy the nodes from one etc map location to another and replicate if required.

But without writing some custom script there is no possible way of auto copy nodes from one location to another.

- Runal