SAP Cloud for Customer的inscreen_
2020-03-21 本文已影响0人
华山令狐冲
点击Sales Lead OWL里某一个Lead,进入TI页面:

TI页面里创建了一个Embedded Component:

aTargets的内容:

从上图可以看出这个navigation是从Lead TI页面screen内部,通过PublicOutportECLeadProduct到达Embedded Component.

在NavigationProcessor里有个方法inscreen_dataflow,统一处理这种屏幕内跳转:

有个很大的switch case语句,我们进入_inscreenToEC的分支。

触发fromLead的inport,完成将LeadID从Lead TI页面传递到EC的任务:

这个fireInport是通过promise实现的异步操作:

_fireInPortFired:

抛出InPortFired事件:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
