how is component.js of extension project loaded

Created by Jerry Wang on Jun 13, 2015

  • WebContent
  • Component
  • Component.js
  • icfservloc
  • ui5_ui5
    directly test the BSP application in tcode SE80
    https://:44355/sap/bc/ui5_ui5/sap/zcrm_notes_w8/Component.js works
    https://:2030/sap/bc/ui5_ui5/sap/zcrm_notes_w8/Component.js 404 error
    The following screenshot is for GM0 ( working scenario )
    how is component.js of extension project loaded
    how is component.js of extension project loaded
    how is component.js of extension project loaded
    下面的url是not work的scenario:
    how is component.js of extension project loaded
    how is component.js of extension project loaded

原因是ui5_ui5这个icf node下不存在名为zcrm_note_w8的sub node:
how is component.js of extension project loaded
root cause在于index.html里对extension project的module path注册路径不正确:

[外链图片转存失败(img-6Zw9RcgD-1568602582290)(https://user-images.githubusercontent.com/5669954/27516596-2c015ca8-59bd-11e7-8022-d121c5f10b6f.png)]
zcrm_note_w8应该替换成为实际deploy到ABAP repository里bsp application的名字。

修改后问题解决:
how is component.js of extension project loaded
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
how is component.js of extension project loaded

上一篇:分析Pacp包


下一篇:VUE 中 Missing file extension “vue“ for “XXX 的问题解决办法之一