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

Tagging mass assets

Avatar

Avatar
Validate 10
Level 1
vishalv75424481
Level 1

Likes

0 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
View profile

Avatar
Validate 10
Level 1
vishalv75424481
Level 1

Likes

0 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
View profile
vishalv75424481
Level 1

15-10-2015

I have a requirement to tag about 40,000 pdf files that are upload to DAM. What is the best way to tag them? I am trying to write a script to achieve this. Please let me know if there is another way to do this.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

15-10-2015

You can write event handlers that tag assets using the Tag Manager API in AEM: 

http://scottsdigitalcommunity.blogspot.ca/2015/03/creating-aem-event-listener-that.html

PS - in future - post AEM questions in the AEM communtiy - you posted the oriignal one in the DTM community. 

Answers (4)

Answers (4)

Avatar

Avatar
Validate 10
Level 1
vishalv75424481
Level 1

Likes

0 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
View profile

Avatar
Validate 10
Level 1
vishalv75424481
Level 1

Likes

0 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
View profile
vishalv75424481
Level 1

15-10-2015

I have a tag associated to each of pdf's in an excel. I put them into a hashmap with <filename, tag>. then for every file read, i fetch its tag and then tag it. I am using Tag API to tag them. I just wanted to know if there is any alternative coz I need to spend time writing code.

Avatar

Avatar
Validate 10
Level 1
vishalv75424481
Level 1

Likes

0 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
View profile

Avatar
Validate 10
Level 1
vishalv75424481
Level 1

Likes

0 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
View profile
vishalv75424481
Level 1

15-10-2015

I think I need tags.. because the main requirement is to provide a search page that can filter pdf files based on the tags.

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,133 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,133 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

15-10-2015

Hi,

You can use the taggIng API to achieve this. But from what I think, that's not the real issue, but rather: How do you determine the tags you want to apply to each PDF?

kind regards,
Jörg

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

15-10-2015

Hi Vishal,

If you are planning to track these PDF links in Analytics you can do that using a very simple configuration in DTM or s_code file.

In DTM you need to select the checkbox "Track download links" under the "Link Tracking" section of the Analytics tool. Please refer to the attached screenshot.[img]Link Tracking_DTM.png[/img]

For changes in JavaScript you can refer to the below article:

https://marketing.adobe.com/resources/help/en_US/sc/implement/link_automatic.html

~Kaushal