Created by Jerry Wang, last modified on Mar 17, 2014

Product search的configuration里,在available search criteria和Selected Search Criteria两个区域内都没有发现WITH_INDOBJECTS这一attribute:

 

Why with_indobjects is not available in product search

 

 

虽然query object的structure里确实有with_indobjects这一字段。

 

Why with_indobjects is not available in product search

 

 

我们可以debug GET_VISIBLE_FIELDS方法:

 

Why with_indobjects is not available in product search

 

 

框架会遍历每个字段,如果字段对应的design entity 的hidden或者excluded flag被置位,该field将不会显示。

 

Why with_indobjects is not available in product search

 

 

这里with_indobjects从待显示的fields里移除:

 

Why with_indobjects is not available in product search

 

 

 

框架会检查search field是否在design layer里配置为standard。如果配置为hidden或者excluded,或者design layer里不存在对应的entry, 

 

则该field将不会显示。对于with_indobjects而言,系统标准的design layer setting并没有对应的entry, 因此该field不会出现在View configuration里

Why with_indobjects is not available in product search

 

可以通过在下列表BSP_DLC_SETTINGS里添加一行entry的做法来disable 系统的这一behavior。 添加之后即使design layer里没有对应的entry或者被标记成hidden 和excluded也能显示在view configuration里:

 

Why with_indobjects is not available in product search

 

 

 

Why with_indobjects is not available in product search

相关文章:

  • 2021-07-21
  • 2021-04-12
  • 2022-01-18
  • 2021-07-01
  • 2021-09-20
  • 2021-10-15
  • 2021-09-10
  • 2021-08-24
猜你喜欢
  • 2022-01-06
  • 2021-10-05
  • 2021-08-15
  • 2021-06-10
  • 2021-05-14
  • 2021-06-04
  • 2021-11-11
相关资源
相似解决方案