Skip to Content

New attribute of a CMSComponent is not working

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2016 at 02:12 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 18, 2016 at 09:30 PM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.