Cross-referencing - Can I use a bookmark in a Snippet?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
plowright
Propeller Head
Posts: 38
Joined: Tue Sep 30, 2014 11:07 am

Cross-referencing - Can I use a bookmark in a Snippet?

Post 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.

:)
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Cross-referencing - Can I use a bookmark in a Snippet?

Post 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.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
plowright
Propeller Head
Posts: 38
Joined: Tue Sep 30, 2014 11:07 am

Re: Cross-referencing - Can I use a bookmark in a Snippet?

Post by plowright »

Makes sense. Probably won't work for me, but I appreciate the answer. :)
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Cross-referencing - Can I use a bookmark in a Snippet?

Post 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...
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
EileenP
Propeller Head
Posts: 78
Joined: Thu Jun 12, 2014 4:34 am

Re: Cross-referencing - Can I use a bookmark in a Snippet?

Post 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.
doloremipsum
Sr. Propeller Head
Posts: 290
Joined: Mon Aug 26, 2019 2:11 pm

Re: Cross-referencing - Can I use a bookmark in a Snippet?

Post by doloremipsum »

Everyone say thanks to the Internet Archive :D
https://web.archive.org/web/20220812092 ... -in-flare/
in hoc foro dolorem ipsum amamus, consectimur, adipisci volumus.
EileenP
Propeller Head
Posts: 78
Joined: Thu Jun 12, 2014 4:34 am

Re: Cross-referencing - Can I use a bookmark in a Snippet?

Post 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.)
Post Reply