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

HTML syntax to pull folder name

New Here ,
Jan 08, 2021 Jan 08, 2021

Copy link to clipboard

Copied

I have the following line in my master page to dynamically pull the title of the topic and place it at the top of my page in the header.

 

<p class="TopicTitle"><span data-field="title" data-format="default" style="font-size:55px; font-weight: bold; color: #35363a">Common Issues</span></p>

 

Is there syntax for the data-field="" variable that will automatically pull the folder name that it resides in in the hierarchy? So it will look something like this "Office 365 - Common Issues" using the example above? Would end up as 2 separate <span>s with the hyphen in between.

 

Part of the process for me is outputting to .PDF certain parts of the Knowledgebase i am tasked with building and this would keep me from having to manually put the full title in or use a new master sheet for each section of the database.

 

Thanks

Views

84

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
no replies

Have something to add?

Join the conversation
Resources
RoboHelp Documentation
Download Adobe RoboHelp