on ‎2014 Dec 01 2:03 PM
Hi,
after modifying a referenced component within a component the synchronization status of the containing component is not updated from synchronized to not synchronized. We have set the root types to CMSItem and CMRelation. The synchronization properties are set according to the description in the hybris wiki.
 Does anybody has an idea what the problem could be?
cheers
David
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
Try to edit your cmscockpit-services.xml, you should normally find two tags as list like this
<entry key="AbstractPage">
<list>
<value>NameOfYourParentComponent.nameOfChildComponentsInsideYourParentModel</value>
</list>
</entry>
<entry key="AbstractCMSComponent">
<list>
<value>NameOfYourParentComponent.nameOfChildComponentsInsideYourParentModel</value>
</list>
</entry>
Example: Container.elements
Run an update system for the extension where you edit the xml.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great !! happy for you :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Othman,
it works!!!
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meera,
I think it's better to implement the relation by the tag in your items.xml
<relation generate="true" code="MyNewRelation" autocreate="true"
localized="false">
<sourceElement type="MyContainerComponent" qualifier="theParent"
cardinality="one" />
<targetElement type="MyChildComponent" qualifier="theChilds"
cardinality="many" ordered="true" />
</relation>
Be aware of the name of the attribute used in my first post:
For the parent component use the Type name
For the child component use the qualifier
MyContainerComponent.theChilds
Off course, don't forget to run an ant all, then update your system (hac) check the extension of the modified items.xml, if still don't work, go to your wcms cockpit and from "Menu" reset the user preference, if still don't work, restart your server.
I hope this will work , let me know.
Othman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.