Skip to main content
Participant
January 8, 2021
Question

HTML syntax to pull folder name

  • January 8, 2021
  • 0 replies
  • 114 views

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

    This topic has been closed for replies.