Expand my Community achievements bar.

SOLVED

Grab the title of a tag from asset metadata in Native PDF

Avatar

Level 3

Is there any way to grab the tag title in a native pdf field? I have a custom metadata field on my asset called category, and it is a tag field. When rendering the pdf I get the full path to the tag, but I want to display the title instead.

i.e. The below displays "PROJECT:DOCUMENT-TYPE/DOCUMENT-TYPE" and I want it to display "Document Type Title"

rkody_0-1721830474000.png

 

1 Accepted Solution

Avatar

Correct answer by
Employee

Yes, you will need to keep the value you want in output i.e. text as value in crx/de.

Please give it a try and let me know how it goes.

View solution in original post

4 Replies

Avatar

Employee

Hi,

 

In your case whatever value you have set in Category will be coming in Native PDF output. 

Can you share a screenshot of this Category asset metadata property? 

Also please refer to https://experienceleague-review.corp.adobe.com/docs/experience-manager-guides/using/install-guide/on... . Go to "Add fields and metadata" section. You will find various ways you can use metadata from ditamaps and topics.

 

Thanks and Regards,
Surbhi Maheshwari

Avatar

Level 3

Yes I have that property set up to be a tag.

 

Metadata schema:

rkody_0-1721910307967.png

On the Asset:

rkody_1-1721910476407.png

CRXDE:

rkody_2-1721910584216.png

 

It sounds like I will have to just use a text property in the schema and manually add the document type instead of using tags.

Avatar

Correct answer by
Employee

Yes, you will need to keep the value you want in output i.e. text as value in crx/de.

Please give it a try and let me know how it goes.

Avatar

Administrator

@rkody Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni