Page 1 of 1
Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Mon Dec 08, 2014 10:54 am
by plowright
Hi All:
I was able to create a book mark in a Snippet without any difficulty. The snippet is in a topic, and there is a second topic where I want to use the cross-reference. I can locate the desired bookmark within the topic that holds the Snippet, but when it populates in the second topic, I get "<MadCap:xref></MadCap:xref>". Is there a way to get the cross reference to show up correctly, or will it just not work?
Thanks.

Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Mon Dec 08, 2014 1:08 pm
by Nita Beck
I don't think you can have the bookmark in the snippet itself. When I do things like this, say when I have a heading and stuff underneath the heading, I'll have the heading be live text within the topic, I'll insert the bookmark there, and then the stuff underneath will be in the snippet. Then, if I want to link to that bookmarked heading from another topic, I can do so.
Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Mon Dec 08, 2014 2:22 pm
by plowright
Makes sense. Probably won't work for me, but I appreciate the answer.

Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Mon Dec 08, 2014 6:12 pm
by Nita Beck
I have a very vague recollection that Paul Pehrson (aka DocGuy) once blogged about how to cross-reference into a snippet.. Maybe he'll stop by...
Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Thu Jun 25, 2015 12:11 pm
by FrancesN
Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Wed Jan 18, 2023 3:26 am
by EileenP
The above link no longer works (which is understandable) but I wonder if any updates in Flare have made possible what OP described. I need to do the same.
Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Wed Jan 18, 2023 4:31 pm
by doloremipsum
Re: Cross-referencing - Can I use a bookmark in a Snippet?
Posted: Thu Jan 19, 2023 2:21 am
by EileenP
Thank you, @doloremipsum!
TLDR: It works, but you have to insert the xref manually. (I do this by inserting an xref to a bookmark in a topic and then editing that xref to point to the bookmark in the snippet.)