Skip to main content
mattl84896954
Known Participant
Jul 19, 2019 11:41 PM UTC
Question

Using Keyref to call-up a Keydef in FrameMaker Dita

Hello,

I am finally getting my feet wet using DITA keys. I understand the basic principle, bu cannot get it to work they way I understand that it should.

I have defined a couple of keywords in an keyspace (ditamap).

When I go inside my DITA topic, I cannot see an option to insert "keyref", only "conref". Confref works in calling up my keyword, but it does not use the keyref and product attribute, rather it creates a random ID and uses they keyword element. I guess this works fine, but I cannot tell from my code view what I am looking at, all I see is an ID.

What I would like to see is this: <ph keyref="product" product="name"/> ,
but what I am getting is this: <keyword  conref="Keyspace.ditamap#id197JG0Q10UI"></keyword>

I hope this makes sense. I am getting close, but wondering if I am doing something wrong. Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Adobe Employee
Jul 22, 2019 5:12 AM UTC

There could be two ways to achieve this. I have tried both ways.

First is to press Ctrl + 1 post buying word and add keyword and add a keyref to it.

Second approach is to insert a keyword and then associate the respective keydef

thanks,

Translate
mattl84896954
Known Participant
Jul 22, 2019 5:10 PM UTC

Hi Amit,
Thanks for the response. could you show the above in XML view please? Thanks!

Translate