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

SOLVED

Relate assets using bulk import process

nitinjl
Level 4
Level 4

Team,


Adobe Experience Manager Assets lets you manually relate assets using the related assets feature. We have a requirement to relate 2 or more assets using bulk import process wherein related assets information will be available in cvs/xlsx.

Not sure if AEM provides any such OOB functionality, any thoughts/suggestions to achieve the ask are much appreciated.

 

Thanks

Assets related assets
1 Accepted Solution
SameerBhalerao
Correct answer by
Level 4
Level 4

Hi There,

 

OOTB metadata upload/download solution works only for metadata node's properties of an asset and as related assets are stored therein, it can't be done with this solution.

 

Either you need to write something custom which csv kind of input basing it on OOTB solution or come up with something else. One thing I can think of apart from csv solution is creating a curl script/groovy script and feeding it with right properties. You can use SlingPostServlet in those script. Need to iterate through some input format(csv) and use script which uses Post servlet post method. A lot of ground is covered at https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-po...

 

Unfortunately nothing out of the box to rescue I guess.

 

Thanks!

View solution in original post

1 Reply
SameerBhalerao
Correct answer by
Level 4
Level 4

Hi There,

 

OOTB metadata upload/download solution works only for metadata node's properties of an asset and as related assets are stored therein, it can't be done with this solution.

 

Either you need to write something custom which csv kind of input basing it on OOTB solution or come up with something else. One thing I can think of apart from csv solution is creating a curl script/groovy script and feeding it with right properties. You can use SlingPostServlet in those script. Need to iterate through some input format(csv) and use script which uses Post servlet post method. A lot of ground is covered at https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-po...

 

Unfortunately nothing out of the box to rescue I guess.

 

Thanks!

View solution in original post