Using Topic Properties as variables in snippets

Community Beginner ,
May 17, 2016 May 17, 2016

Copy link to clipboard

Copied

I am using RoboHelp 2015. Is there any way by which I can use topic titles in snippets? For example if I have a snippet with snippet name as snippet1.hts and have a topic named as topic1.html with topic title as Topic1, when I insert snippet1, can I display Topic1 in snippet as a variable?

If not, at least can I display topic title or any topic property as a variable in the topic?

TOPICS
HTML

Views

146

Likes

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
LEGEND ,
May 17, 2016 May 17, 2016

Copy link to clipboard

Copied

Actually it seems it is quite easy to plop a Topic Title into a snippet.

What you do is edit the snippet and insert the Topic Title field by clicking Insert > Field.

tmp1.png

Then from the Fields dialog, choose Title.

tmp3.png

It will look a bit "off" in the editor. But when you preview, the Topic Title should be substituted.

Cheers... Rick

Likes

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
LEGEND ,
May 17, 2016 May 17, 2016

Copy link to clipboard

Copied

Also note that you can take this even further by including a variable into the Topic Title.

Cheers... Rick

Likes

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 Beginner ,
May 17, 2016 May 17, 2016

Copy link to clipboard

Copied

LATEST

Thank you very much! It works!!!

Likes

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
Resources
RoboHelp Documentation