cmscockpit中子组件属性的同步

2020-09-02 19:33发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)嗨,我有一个父组件,其中有2-3...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,我有一个父组件,其中有2-3个子组件。 在CMSCockpit中,如果我编辑父组件,然后对其进行同步,则更改将正确反映。 但是,如果我编辑子组件属性然后同步父组件,则子组件相关的更改不会同步。

有人可以为此提出建议吗?

谢谢Meera

10条回答
灬番茄
2020-09-02 20:11

在这种情况下,可能需要将这些子组件添加到cmscockpit的ynchronizationService的relatedReferencesTypesMap中。

如果使用加速器,则可以直接在yacceleratorcockpits项目( 项目名称可能会因您的主要项目名称而异)/yacceleratorcockpits/resources/yacceleratorcockpits/cmscockpit/spring/cmscockpit-services.xml

  
      
          
              <地图>
                  
                      <列表>
                           AbstractPage.restrictions 
                           AbstractPage.contentSlots 
                           ContentSlotForPage.contentSlot 
                           ContentSlot.cmsComponents 
                           AbstractCMSComponentContainer.simpleCMSComponents 
                           AbstractCMSComponentContainer.currentCMSComponents 
                           RotatingImagesComponent.banners 
                           AbstractCMSComponent.restrictions 
                      
                  
                  
                      <列表>
                           AbstractCMSComponentContainer.simpleCMSComponents 
                           AbstractCMSComponentContainer.currentCMSComponents 
                           RotatingImagesComponent.banners 
                           AbstractCMSComponent.restrictions 
                           NavigationBarComponent.link 
                      
                  
                  
                      <列表>
                           CMSNavigationNode.children 
                           CMSNavigationNode.entries 
                           CMSNavigationNode.links 
                           CMSNavigationEntry.item 
                           CMSLinkComponent 
                      
                  
              
          
      
 

  

您要做的就是将组件层次结构添加到此配置中,就像对其他组件所做的一样。 RotatingImagesComponent.banners。

干杯,Pawel

一周热门 更多>