Skip to main content
Anshuman_Accanoor
Participant
July 10, 2014
Question

How do I extract/view all help topic IDs in a book file?

  • July 10, 2014
  • 1 reply
  • 466 views

Hi,

So, we have a document (1000+ pages long) with hundreds of help topic IDs that were auto generated when the document was first created. We now need to access certain sections of the documents and make updates, but the only point of reference given is the help topic ID.

Is there a way in which we can extract the help topic IDs along with the heading name, or at least view where each help topic ID is?

Best regards,

Anshuman

This topic has been closed for replies.

1 reply

Arnis Gubins
Inspiring
July 10, 2014

So how exactly are these topic IDs inserted in the FM document? If they are inserted as markers, you can create an Index of Markers and then use that to hypertext to the correct location.

Anshuman_Accanoor
Participant
July 11, 2014

Each help topic ID is inserted as an "ID" under the respective element tag, in the structure view. For example, the ID for the section 1 element.

I have tried creating an Index of Markers but, as these aren't really markers, the IDs are not extracted.

Arnis Gubins
Inspiring
July 11, 2014

It would have helped if you mentioned that you were working with structured documents and with which version of FM. [I've moved this thread to the FM Structured Forum].

If you're using one of the later versions of FM and your content is XML-based, then you could do an XPath query to load all of the required element ID attributes into the XPath pod to link to the specific target IDs. IIRC, you can even save the results of an XPath query as an xml file.

Alternatively, you can just do a straight Find > Element and specify the element type, attribute and attribute value that you're looking for.

Hopefully, one of the structured FM experts will have additional suggestions.