前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >How to create extension project from standard CRM Fiori application

How to create extension project from standard CRM Fiori application

作者头像
Jerry Wang
发布2019-06-15 18:04:53
3680
发布2019-06-15 18:04:53
举报

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.

clipboard1
clipboard1

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

clipboard2
clipboard2

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

clipboard3
clipboard3

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.

clipboard4
clipboard4

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"
}
]
}
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年06月14日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档