Hi there,
I'm wondering if there is a way to get a <topicmeta> tag to show up on output through Native PDF. Currently it looks like the output template is ignoring it. How can I get it to show?
Thanks in advance!
Josh
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi Josh,
Do you want to show a value from topicmeta e.g. author in your native PDF output?
If yes, there is an option to insert that in page layout of PDF template. From top toolbar, you can insert Fields > metadata > select the one you want to insert (select Map content from drop down in your case).
In generated PDF output you will see the value of let's say author element from topicmeta of ditamap.
PFA screenshot below:
Thanks and Regards,
Surbhi Maheshwari
Hi Josh,
Do you want to show a value from topicmeta e.g. author in your native PDF output?
If yes, there is an option to insert that in page layout of PDF template. From top toolbar, you can insert Fields > metadata > select the one you want to insert (select Map content from drop down in your case).
In generated PDF output you will see the value of let's say author element from topicmeta of ditamap.
PFA screenshot below:
Thanks and Regards,
Surbhi Maheshwari
Thanks so much for your quick reply, Surbhi!
I should have clarified - my apologies!
What I mean by <topicmeta> in maps is this:
I know this probably isn't the best use of DITA, but unfortunately this scenario is present in our legacy content.
Is there any easy way to get this to show, or is it necessary to make these into topics?
Thanks again!
Josh
Turns out this is a bigger issue for our legacy content than I'd originally thought!
Because the topicmeta doesn't make it to output, any empty chapter tag with a topicmeta directly in the bookmap (as illustrated in my example) causes Native PDF to skip that file, and number each H1 in the chapter as its own chapter.
This can obviously be fixed by changing out the blank chapter tag/topicmeta with an actual topic. However, is there any way we can get the topicmeta to display as it is layed out in my example? This would greatly help us with fixing legacy material.
Please let me know!
Thanks again!!
Josh
To close this issue out, I believe we were using this tag in a very customized way in our previous system, meaning we need to make a few changes to make the tag work properly.
Thanks for all of the help!
Josh
Views
Replies
Total Likes
Views
Likes
Replies