We are trying to create a package of all metadata nodes under a specific hierarchy.
Is this possible? Tried the following:
We have a hierarchy:
/content/dam/projectname/master/video/
Want to package all metadata nodes under this hierarchy, for example:
/content/dam/projectname/master/video/(A...Z)/example_video.mov/jcr:content/metadata
Filter:
/content/dam/projectname/master/video
Include:
/content/dam/projectname/master/video/[^/]+/[^/]+/jcr:content/metadata
Result:
Building package
A META-INF
A META-INF/vault
A META-INF/vault/config.xml
A META-INF/vault/filter.xml
A META-INF/vault/nodetypes.cnd
A META-INF/vault/properties.xml
A /.content.xml
A /content
A /content/.content.xml
A /content/dam
A /content/dam/.content.xml
A /content/dam/projectname
A /content/dam/projectname/.content.xml
A /content/dam/projectname/master
A /content/dam/projectname/master/.content.xml
A /content/dam/projectname/master/video
A /content/dam/projectname/master/video/.content.xml
- Aggregation status: 5 of 3 prepared, 4 collected
A META-INF/vault/definition/.content.xml
Solved! Go to Solution.
Views
Replies
Total Likes
You can just add the following exclude rule for updating only the metadata -
exclude /content/dam/projectname/master/video(.*)/jcr:content/[ar].*
Views
Replies
Total Likes
I packaged up DAM content and when i deployed - all content - including MetaData is deployed. I used AEM 6.1:
[img]PackageMetadata.png[/img]
Views
Replies
Total Likes
When you deploy the package - the metadata nodes are missing?
Views
Replies
Total Likes
smacdonald2008 wrote...
I packaged up DAM content and when i deployed - all content - including MetaData is deployed. I used AEM 6.1:
Sorry, I should have mentioned - I want to exclude everything else under the filter besides the metadata nodes.
For example, I don't want to package the renditions folder.
Views
Replies
Total Likes
You can just add the following exclude rule for updating only the metadata -
exclude /content/dam/projectname/master/video(.*)/jcr:content/[ar].*
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies