Uploading PDF in Assets does not show the filename "sample.pdf" but instead the metadata title.

Avatar

Avatar
Boost 1
Level 1
Mund25
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Mund25
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Mund25
Level 1

20-02-2017

A user is using AEM 6.1 Touch UI. He uploaded a PDF in the Assets with filename "sample.pdf" is not able to see the file from the list of uploaded assets. But instead a new name "A_Sample_File" has appeared on the list.

The user thought there was an issue because he's not able to see the "sample.pdf" name on the asset list. However, the user was not aware that there's a metadata title on the pdf "A_Sample_File". And this metadata title was used as the label on the list after uploading the sample.pdf file.

How can I prevent the "DAM Update Asset" workflow to NOT use the metadata title to be displayed on the asset list?

I know that if a pdf has no metadata title or if it's empty, the DAM Update Asset workflow will fallback to use the filename as the title/label on the asset list. This is what the user wanted because what they want to see is what they get. And most of the users are non techy and has no tool to remove the metadata title manually.

And also, if the PDF is password-protected and has metadata title, this is not easy to remove even if you have a 3rd party software to remover metadata. 

(Please check out the attached screenshot for better understanding.)

Replies

Avatar

Avatar
Validate 1
Level 2
maruthid1
Level 2

Likes

3 likes

Total Posts

22 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
maruthid1
Level 2

Likes

3 likes

Total Posts

22 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
maruthid1
Level 2

20-02-2017

You can add additional column (by overlaying assets UI) which shows the name of the file.

You might come across one more issue in 6.1 if the title is big you cannot expand the column in list view it shows only partial name(this is fixed in 6.2)

Avatar

Avatar
Boost 1
Level 1
Mund25
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Mund25
Level 1

Likes

2 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Mund25
Level 1

22-02-2017

maruthid1@gmail.com wrote...

You can add additional column (by overlaying assets UI) which shows the name of the file.

You might come across one more issue in 6.1 if the title is big you cannot expand the column in list view it shows only partial name(this is fixed in 6.2)

 

Thank you for your reply. However, I don't want to add a new column. Users will get more confused.

I just would like to find a way to bypass the extraction/processing of the "metadata title" from the DAM Update Asset workflow. And the rest of the metadata should stay the same.

Avatar

Avatar
Boost 1
Level 1
AEM_65
Level 1

Like

1 like

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
AEM_65
Level 1

Like

1 like

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
AEM_65
Level 1

15-08-2017

Hi , Is there detail way for this solution? I am also seeing this issue in my new aem 6.2 version. we used to use 5.6.1 and it shows the pdf name there. but in aem 6.2 it is showing the metadata tile name in the authoring dailog while hyperlinking

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,206 likes

Total Posts

6,421 posts

Correct reply

1,148 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,206 likes

Total Posts

6,421 posts

Correct reply

1,148 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

15-08-2017

Moving this question to AEM Assets topic.

~kautuk

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

487 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

487 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

16-08-2017

    May be you can write a launcher, where you can listen to any document upload and your workflow will remove the metadata title from back-end !!! .

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

487 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

487 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

16-08-2017

This is really not recommended , but a thought Modify the DAM Update Asset workflow .You can create a custom workflow with same steps as in DAM Update workflow, but the process step which extracts the name , you can modify as per your need. But let me tell you this is a risky business . Unless you think its really necessary I may not reccommend you this way since it may need thorough testing and if you dont implement the code properly, it will screw up .

Avatar

Avatar
Boost 1
Level 1
AEM_65
Level 1

Like

1 like

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
AEM_65
Level 1

Like

1 like

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
AEM_65
Level 1

16-08-2017

No Issues found the solution.

/libs/cq/ui/widgets/source/widgets/form/PathField.js    There we need to change the Boolean of showTitlesInTree to False so that it can take the node name. By default it will be true.

And also just FYI you shouldnt be changing that file under libs. you need to put it in /apps/cq/ui/widgets/source/widgets/form/PathField.js this structure.

and then edit that boolean from true to false.

Thanks 🙂