Skip to main content
hadih26673991
Inspiring
August 5, 2020
Question

keydefs based on product attribute

  • August 5, 2020
  • 1 reply
  • 320 views

I am trying to assign different values to one key name and differentiate them based on the product attribute such that when I refer to them using the keyref command they take the corresponding value for their product. But it apparently ignores the product and all the keywords for all the products take the value of the first keydef. Here is an example for three different products

 

<map>

<keydef keys="program" product="measurement_program"><topicmeta><keywords><keyword>measurement</keyword></keywords></topicmeta></keydef>


<keydef keys="program" product="evaluation_program"><topicmeta><keywords><keyword>evaluation</keyword></keywords></topicmeta></keydef>


<keydef keys="program" product="backup_program"><topicmeta><keywords><keyword>backup</keyword></keywords></topicmeta></keydef>

</map>

 

Then, I assign the corresponding product attribute to the element where I use the keyword. I would expect that the value of the keyword changes within the bookmap according to its product but this is not what happens. In my example all keywords show "measurement"

This topic has been closed for replies.

1 reply

Adobe Employee
August 5, 2020

Hi Hadi

 

Can you email me a sample so i can review this once. Also is this an issue with Summer release of 2020 or 2019?

 

thanks

amitoj Singh

 

hadih26673991
Inspiring
August 5, 2020

Hi Amitoj,

Thanks for fast reply as usual. I am using the 2020 version 16.0.0.747 . I will prepare a small example asap and email you. 

Cheers,

Hadi