Skip to main content
mattl84896954
Known Participant
July 19, 2019
Question

Using Keyref to call-up a Keydef in FrameMaker Dita

  • July 19, 2019
  • 1 reply
  • 662 views

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 has been closed for replies.

1 reply

Adobe Employee
July 22, 2019

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,

mattl84896954
Known Participant
July 22, 2019

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