cancel
Showing results for 
Search instead for 
Did you mean: 

New attribute of a CMSComponent is not working

0 Kudos

Hi Experts,

I've extended SimpleBannercomponent and added a CMSLinkComponent attribute to it. Updated component jsp file with the new attribute.

After System Update I could see change in item type in HMC and I'm able to update the value for this new attribute using Impex/Cockpit.

But, When I access storefront, this new attribute It is not rendered. We have multiple hybris nodes and clustered database.

Please help me to resolve this issue.

Thanks and Regards,
.

Former Member
0 Kudos

Do you see the same value in Staged and Online catalog versions?

0 Kudos

Yes. I could see same value in both versions.

Former Member
0 Kudos

In that case, I suspect there is something missing in your JSP

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

We are using 4 hybris nodes and cluster DB(two instances).
I'm able to see the changes on storefront only if I do system update on that particular node. When I access application through other nodes, the changes are not getting reflected on storefront.

Should we run system update on each node whenever there are items.xml changes related to cms components?

Former Member
0 Kudos

Hi,

Have you created a customcomponent.jsp with name as your custom component and placed it in the cms folder. If not, create this, and place your jsp code inside this jsp.

0 Kudos

HI Sourav,

I've added the required jsp code in customcomponent.jsp