天天看点

SAP CRM页面assignment block动态显示与否的控制逻辑

我们在product overview page里能看到很多的assignment block。但是runtime的时候真正显示出来的内容只是configuration里面看到内容的一个子集。

Product category能够assign很多settype和relationship,每个settype和relationship都对应一个UI view. runtime的时候,我们会根据product category找到上面assign的settype和relationship,再把对应的UI以assignment block的形式显示出来。具体逻辑:

首先在这个方法里拿到configuration里面所有的view list:

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

继续阅读