Variable text in snippets

This forum is for Single-Sourcing your Flare content to multiple outputs.
Post Reply
PeteM
Jr. Propeller Head
Posts: 5
Joined: Thu Nov 22, 2018 7:24 am

Variable text in snippets

Post 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!
NorthEast
Master Propellus Maximus
Posts: 6363
Joined: Mon Mar 05, 2007 8:33 am

Re: Variable text in snippets

Post 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
PeteM
Jr. Propeller Head
Posts: 5
Joined: Thu Nov 22, 2018 7:24 am

Re: Variable text in snippets

Post by PeteM »

That's exactly what I was looking for, many thanks.
Post Reply