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

Adding a Button on Toolbar to Email a Topic URL

Explorer ,
Mar 02, 2021 Mar 02, 2021

I know this has been discussed a few times but I had trouble finding the solution to my question. If it has been answered kindly send me the link to the solution. I am using Robohelp2019 and am wanting to add a button that will email the URL link to a topic page. I've tried solutions that return either the name of the htm document or gives the path to the document on the server. I am wanting a link to the URL where the recipient can click and be directed to that particular page of the manual.

 

Thanks for your help.

204
Translate
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
Explorer ,
Mar 02, 2021 Mar 02, 2021
LATEST

I spoke too soon.  I was able to actually test it on our server (not just my drive) and it did indeed return the topic URL link.  The correct OnClick code was:

window.location.href = "mailto:someone@somedomain.com?subject=Issue in topic&body=Topic path is " + rh._.parentPath() + rh._.hashParam('t'); return false;

 

Translate
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
Download Adobe RoboHelp