SAP Cloud for Customer跨component的跳转
SAP CRM WebUI里的跨UI component跳轉大家都很熟悉了,常見的場景是從search result的hyperlink里點擊進入overview page.
在C4C里, end user也是通過同樣的方式從search result進入overview page, 實現的方式和CRM WebUI稍有不同,search result 和overview 通過一個叫thing type的model聯系起來,search result 里的一個hyperlink field綁到了thing type, thing type又綁定了overview page ( C4C里叫thing insepctor ), 這樣runtime的時候,C4C的UI框架(名叫Oberon)就能通過thing type解析出navigation target, 即Overview page.
Artifacts involved in cross component navigation in C4C
(1) there is one field in result list rendered as hyperlink, bound to BO uuid field
(2) BO uuid field is bound to my thing type model:
(3) My thing type is assigned with overview page Jerry_TI, so that in the runtime, Jerry_TI is identified as navigation target.
最后實現的效果:
click hyperlink 333,
and it will navigate to detail page with instance id 333:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的SAP Cloud for Customer跨component的跳转的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 计算机中指令的执行过程
- 下一篇: SAP Cloud for Custom