Native PDF: Structured access to bookmap bookmeta/authorinformation/organizationinfo metadata for JavaScript manipulation | Community
Skip to main content
Level 2
September 24, 2024
Question

Native PDF: Structured access to bookmap bookmeta/authorinformation/organizationinfo metadata for JavaScript manipulation

  • September 24, 2024
  • 3 replies
  • 902 views

One of our customer requirements is to construct a ‘Contact Information’ block of addresses on the back page.

They don’t want to hardcode this in a table in a topic. We'll have a template with an empty, single row, table and we'd dynamically expand the table based on the required number of address blocks.

They want to store each address block in a bookmeta/authorinformation/organizationinfo block and then to format this content and inject it into a cell per address.

The number of address organizationinfo blocks will vary by publication, and the information in an organizationinfo block will vary.

Because of this variability, using the provided method to create variables from this metadata does not seem to be ideal or efficient. Since the variables are text-only, if we create a variable from the organizationinfo element as a whole we lose all the internal structure.

We were hoping for an HTML structure that retained the internal structure and provided us with something we can manipulate in JavaScript.

Is there another method for including this bookmeta in a more structured format in the HTML that we can manipulate into the back page topic contact information table?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

DivrajSingh
Adobe Employee
Adobe Employee
September 25, 2024

@mike-e  you are right that sub-elements are not added to the intermediate HTML as, when picking the metadata by xpath the Native PDF engine currently picks only the inner text.

We have raised a request (GUIDES-20063) to allow sending the prolog information xml with sub-elements - so that any custom rendering can be implemented there on.

Mike-EAuthor
Level 2
March 11, 2025

Thanks Divraj.

 

How do I find out, please, when GUIDES-20063 will be included in a Guides release?

 

Regards,

Mike

DivrajSingh
Adobe Employee
Adobe Employee
March 12, 2025

You can raise a support ticket to get the timelines for any issues you want an update on. Or reach out to the CSAM for more details.

kautuk_sahni
Community Manager
Community Manager
October 16, 2024

@mike-e Did you find the suggestion 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
kautuk_sahni
Community Manager
Community Manager
July 2, 2025

@mike-e Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!

Kautuk Sahni