Otherprops attribute value not getting added to the genereated html tag. | Community
Skip to main content
ravir73578276
Level 3
February 3, 2023
Solved

Otherprops attribute value not getting added to the genereated html tag.

I have a dita topic which has a paragraph element having below attributes

<p id="p1" otherprops="otherprops-value" platform=" platform-value" product="product-value">Topic2 first paragraph</p>

When I generate aem site for the dita topic. I can see platform and product attribute getting added on the html element as data-platform=" platform-value" data-product="product-value" but otherprops attribute doesn't gets added.

<div class="p wrapper"><div data-platform=" platform-value" data-product="product-value" id="GUID-4d2c4a5e-69bf-4217-9a6f-64b6581c0ed3_t2p1" class="p"><div style="display: inline;">Topic2 first paragraph</div></div></div>

 

How can I enable otherprops also to be added as an attribute to element of the generated html?

@divrajsingh 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
AswiniLakshminarayananAccepted solution
Employee
April 16, 2023

Team is currently evaluating the issue and prioritizing the best course of action. At this time, we do not have a fixed timeline for a fix, but we will keep you updated as soon as we have more information.


Issue has been fixed in the latest march release for cloud. 

On-prem users can expect the fix in the next release. 

8 replies

Employee
February 3, 2023

Hi @ravir73578276  can you confirm if you have the otherprops attribute included in your condAttrList.csv file.

 

Translate
ravir73578276
Level 3
February 4, 2023

Hy @aswinilakshminarayanan , otherprops is by default part of condAttrList.csv file

 

 

Translate
Employee
February 4, 2023

Validation was required for the overlayed condAttrList.csv file. 

 

Translate