URL with a variable?
Posted: Wed Aug 14, 2024 6:13 am
I'm trying to find a way to not write almost the same text on a large number of pages. I've tried with variables, I've tried with snippets but it doesn't like to use either in a link. Here's what I am trying to do.
My text go to the other link here. The here link includes a standard base of a url to a help page https:\\myhelp.com\index.htm# and then I want to take the current file name so that we don't have to input the file name ever time.
Making the url https:\\myhelp.com\index.htm#<MadCap:variable name="System.SourceFile" />
Every time I try this in any way it changes the URL to my folder location plus the code of the variable and not the variable. The reason we are calling the file name is because it is the same page just in a different help location. It seemed like a great idea until I kept trying it and it didn't work.
Is there anyway to do this?
Thanks for any ideas.
My text go to the other link here. The here link includes a standard base of a url to a help page https:\\myhelp.com\index.htm# and then I want to take the current file name so that we don't have to input the file name ever time.
Making the url https:\\myhelp.com\index.htm#<MadCap:variable name="System.SourceFile" />
Every time I try this in any way it changes the URL to my folder location plus the code of the variable and not the variable. The reason we are calling the file name is because it is the same page just in a different help location. It seemed like a great idea until I kept trying it and it didn't work.
Is there anyway to do this?
Thanks for any ideas.