• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Automatically adding references to subsections at the end of each topic

New Here ,
Jun 04, 2020 Jun 04, 2020

Copy link to clipboard

Copied

I'm looking for a way to automatically add references to subsections at the end of each topic. Is there any way to do this using structured FM?

 

That is, if I have a topic at level 1 and 3 topics at level 2, I am looking at ways to insert links automatically to the end of the topic with links to the topics at level 2,preferably as an unordered list.

TOPICS
Publishing , Technical Communication Suite

Views

495

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2020 Jun 04, 2020

Copy link to clipboard

Copied

This could be done in a couple of ways: 1) Use ExtendScript to develop a script to do this. You could trigger the script on saving the document or run it manually whenever you want. You could develop an FDK client instead of using ExtendScript. 2) Use XSLT to add the links when you save as XML.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 04, 2020 Jun 04, 2020

Copy link to clipboard

Copied

Thank you for the response. How could I use XSLT to add the links? Is there any sample which could refer to?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2020 Jun 04, 2020

Copy link to clipboard

Copied

LATEST

I don't know of any samples. It would likely be a custom programming job. You would provide a before/after sample of your inputs and outputs and a programmer can write an XSLT transformation to do this. If you are interested, please contact me off list. Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines