• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using Keyref to call-up a Keydef in FrameMaker Dita

Explorer ,
Jul 19, 2019 Jul 19, 2019

Copy link to clipboard

Copied

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!

TOPICS
Structured

Views

476

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 21, 2019 Jul 21, 2019

Copy link to clipboard

Copied

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,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 22, 2019 Jul 22, 2019

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines