ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

How to create extension project from standard CRM Fiori application

2019-08-22 11:42:54  阅读:237  来源: 互联网

标签:name extension create gateway application Step app


Pre-Steps: You should know how to run CRM Fiori 1.0 applications in WebIDE first.

Next, we will create a extension project out the My Opportunities app we cloned in our WebIDE workspace, what’s the advantage over create the extension project out of a remote resource? Well, you’ll have both the standard application and the extension application in the same workspace, and also, you can play around with the standard application, change a thing or two for experiment, and your extended app will pick up the changes made in the standard application right away, sounds good?
Step 8. There’s actually a neo-app.json existed already when we first cloned the app, but it does not really works, that’s why we created our own. In order to create a extension project out it, we can’t have two neo-app.json file, that’s why in this step, what we will need to do is to rename this file to something the system won’t be able to recognize.

Step 9. Now, go to menu File -> New -> Extension Project.

Step 10. Select the webapp folder as the original application destination.

Step 11. Again, we’ll need to update the neo-app.json file of the extended app, so that you can connect it to your gateway system (you need to update gateway connection part in json file), and also, to eliminate the library.js not found error you may encounter.

Once that’s done, you’re good to go, happy coding

{
"routes": [
{
"path": "/sap/opu/odata",
"wattUsage": "odata_abap",
"target": {
"type": "destination",
"name": "your_gateway_name",
"entryPath": "/sap/opu/odata"
},
"description": "your_gateway_description"
},
{
"path": "/src/main/webapp/resources/",
"target": {
"type": "service",
"name": "sapui5",
"entryPath": "/resources"
},
"description": "SAPUI5 Resources"
},
{
"path": "/src/main/webapp/resources",
"target": {
"type": "application",
"name": "cuscrmlibreuse",
"preferLocal": true
},
"description": "Reuse Library"
}
]
}

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

标签:name,extension,create,gateway,application,Step,app
来源: https://blog.csdn.net/i042416/article/details/100011407

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有