Highlighted

Using Keyref to call-up a Keydef in FrameMaker Dita

Explorer ,
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

235

Likes

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

Using Keyref to call-up a Keydef in FrameMaker Dita

Explorer ,
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

236

Likes

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
Jul 19, 2019 0
Adobe Employee ,
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,

Likes

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
Reply
Loading...
Jul 21, 2019 0
Explorer ,
Jul 22, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Jul 22, 2019 0