如何获取用于查找标题导航内容的灵活查询?

2020-08-27 15:44发布

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

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


嗨社区,我一直在寻找查询来验证标题导航上的内容

从{HeaderNavigationComponent AS NC JOIN CatalogVersion AS CV打开{NC:catalogVersion} = {CV:pk}中选择{NC:content [ANY]},{{CV:catalog} = {C:pk}} 在{CV:version} ='Online'和{C:id} ='apparelProductCatalog'和{NC:uid} ='DefaultHeaderNavigationComponent'

错误:--------------------------------------------- -----------------------------------------------

异常消息:无法在类型HeaderNavigationComponent中搜索未知字段'TableField(name ='content',langPK ='0',type = HeaderNavigationComponent)',除非您禁用检查类型的infoMap = TypeInfoMap = 8796124545106代码= HeaderNavigationComponent超类型= 8796124512338 itemTable = cmscomponent UPTable = cmscomponentup LTableName = cmscomponentlp PropsTable = props核心字段= owner = [owner,OwnerPkString,class de.hybris.platform.util.ItemPropertyValue] itemtype = [itemtype,TypePkString,class de .hybris.platform.util.ItemPropertyValue] modifiedtime = [modifiedtime,modifiedTS,class java.util.Date] creationtime = [creationtime,createdTS,class java.util.Date] pk = [pk,PK,class de.hybris.platform.core.PK ]未本地化的字段= onlyonerestrictionmustapply = [onlyOneRestrictionMustApply,p_onlyonerestrictionmustapply,类 java.lang.Boolean] uid = [uid,p_uid,class java.lang.St [ring]可见= [visible,p_visible,java.lang.Boolean类] wrapafter = [wrapAfter,p_wrapafter,java.lang.Integer类]密封= [密封,密封,java.lang.Boolean类] navigationnode = [navigationNode,p_navigationnode ,class de.hybris.platform.util.ItemPropertyValue] link = [link,p_link,class de.hybris.platform.util.ItemPropertyValue] forceactive = [forceActive,p_forceactive,class java.lang.Boolean] catalogversion = [catalogVersion,p_catalogversion ,class de.hybris.platform.util.ItemPropertyValue]名称= [名称,p_name,类java.lang.String] styleclass = [styleClass,p_styleclass,类java.lang.String] dropdownlayout = [dropDownLayout,p_dropdownlayout,class de。 hybris.platform.util.ItemPropertyValue]本地化字段= [])

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

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


嗨社区,我一直在寻找查询来验证标题导航上的内容

从{HeaderNavigationComponent AS NC JOIN CatalogVersion AS CV打开{NC:catalogVersion} = {CV:pk}中选择{NC:content [ANY]},{{CV:catalog} = {C:pk}} 在{CV:version} ='Online'和{C:id} ='apparelProductCatalog'和{NC:uid} ='DefaultHeaderNavigationComponent'

错误:--------------------------------------------- -----------------------------------------------

异常消息:无法在类型HeaderNavigationComponent中搜索未知字段'TableField(name ='content',langPK ='0',type = HeaderNavigationComponent)',除非您禁用检查类型的infoMap = TypeInfoMap = 8796124545106代码= HeaderNavigationComponent超类型= 8796124512338 itemTable = cmscomponent UPTable = cmscomponentup LTableName = cmscomponentlp PropsTable = props核心字段= owner = [owner,OwnerPkString,class de.hybris.platform.util.ItemPropertyValue] itemtype = [itemtype,TypePkString,class de .hybris.platform.util.ItemPropertyValue] modifiedtime = [modifiedtime,modifiedTS,class java.util.Date] creationtime = [creationtime,createdTS,class java.util.Date] pk = [pk,PK,class de.hybris.platform.core.PK ]未本地化的字段= onlyonerestrictionmustapply = [onlyOneRestrictionMustApply,p_onlyonerestrictionmustapply,类 java.lang.Boolean] uid = [uid,p_uid,class java.lang.St [ring]可见= [visible,p_visible,java.lang.Boolean类] wrapafter = [wrapAfter,p_wrapafter,java.lang.Integer类]密封= [密封,密封,java.lang.Boolean类] navigationnode = [navigationNode,p_navigationnode ,class de.hybris.platform.util.ItemPropertyValue] link = [link,p_link,class de.hybris.platform.util.ItemPropertyValue] forceactive = [forceActive,p_forceactive,class java.lang.Boolean] catalogversion = [catalogVersion,p_catalogversion ,class de.hybris.platform.util.ItemPropertyValue]名称= [名称,p_name,类java.lang.String] styleclass = [styleClass,p_styleclass,类java.lang.String] dropdownlayout = [dropDownLayout,p_dropdownlayout,class de。 hybris.platform.util.ItemPropertyValue]本地化字段= [])

付费偷看设置
发送
2条回答
宇峰Kouji
1楼 · 2020-08-27 16:11.采纳回答

您好 Juan Camilo Bejarano -HeaderNavigationComponent不是一个OOTB(开箱即用) 组件,因此,除非您为HeaderNavigationComponent发布items.xml的内容,否则只能进行一些疯狂的猜测。 我的猜测是,HeaderNavigationComponent的项目类型中没有名为content的属性。

此外,我知道[ANY]仅与WHERE子句一起使用。 请检查 https://wiki.hybris.com/display/release5/FlexibleSearch#FlexibleSearch-SyntaxOverview作为用法示例。

暮风yp
2楼-- · 2020-08-27 16:29

SimpleCMSComponent和CMSLinkComponent之间没有OOTB关系。 CMSLinkComponent的所有OOTB关系都可以在cms2-items.xml中找到。

一周热门 更多>