Page 1 of 1

Variable text in snippets

Posted: Mon Nov 26, 2018 1:23 am
by PeteM
Hi, new Flare user so please bear with me!

I have a set of import instructions which seem suitable for a snippet as they'll be used in lots of topics. It's essentially:
1) Click the import button.
2) Browse to and select [filename].
3) Click OK.
The problem is that the filename will be different each time, so I'm wondering if there's a way to insert non-snippet text in the middle of a snippet. I could do it by using variables, but I think I'd have to create a separate variable for each filename, which could be hundreds, and that kind of defeats the point of using a snippet. My gut feeling is that there's a better way to do this.

Any help would be much appreciated!

Re: Variable text in snippets

Posted: Tue Nov 27, 2018 12:32 am
by NorthEast
You can use a snippet variable - you just have one variable, and can set that variable for each instance of the snippet.

How to override a Snippet variable definition in a Snippet -
https://help.madcapsoftware.com/flare20 ... ippets.htm

Re: Variable text in snippets

Posted: Tue Nov 27, 2018 1:14 am
by PeteM
That's exactly what I was looking for, many thanks.