Feedback survey link with system variable passthrough

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Feedback survey link with system variable passthrough

Postby Curlyshell on Fri Jul 29, 2022 11:37 am

I have a user help feedback survey in SurveyMonkey.

I'd like to link to the survey from every topic in user help.

It would be totally awesome if I could identify the page from which the link was clicked by passing along the topic file name in the survey's URL. SurveyMonkey tells me the basics of how to do that part; all I need is to grab the page name.

This requires a system variable; I'm using System.LinkedFile because, in my project, the file name will always contain legal characters for a URL and will always be unique.

But I don't know how to generate the correct URL. Here's what I tried—first in the master page, and then in a topic:
Code: Select all
<a href="https://www.google.com/?[%=System.LinkedFile%]">Feedback link</a>


In both cases the page rendered like this:
https://www.google.com/?[[[Missing%20Linked%20File%20System.LinkedFile]]]

What-all am I doing wrong?

Thanks!
"I'm a technical writer, not a developer," she said...
Curlyshell
Propeller Head
 
Posts: 62
Joined: Fri Mar 01, 2019 9:14 am

Re: Feedback survey link with system variable passthrough

Postby Curlyshell on Tue Aug 02, 2022 9:22 am

Apparently, I was using the wrong system variable. It should have been System.SourceFile. As in:

Code: Select all
<a href=https://www.surveymonkey.com/r/mysurvey?[%=System.SourceFile%]>Give Feedback!</a>


I hope this is useful to someone.
"I'm a technical writer, not a developer," she said...
Curlyshell
Propeller Head
 
Posts: 62
Joined: Fri Mar 01, 2019 9:14 am


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 10 guests