当前位置:网站首页>SAP Fiori tools and corresponding cli (command line interface)

SAP Fiori tools and corresponding cli (command line interface)

2022-06-25 05:45:00 JerryWang_ WangZiXi

Help document address :https://help.sap.com/viewer/p...

SAP Fiori Tools provide many functions to improve the use of SAP Fiori Elements perhaps SAPUI5 Freestyle method development SAP Fiori Application efficiency .

SAP Fiori Tools and SAP Fiori Elements Together, it reduces development time 、 Maintenance cost , And uses metadata driven UI The advantages of .

SAP Fiori Tools include the following extensions :

  • Wizard for initial application creation .
  • Service modeler for viewing the data model .
  • Used to maintain comments XML And form based editors ( Limited to SAP Fiori Elements)
  • Application page structure and configuration SAPUI5 The ability to set flexibility ( Limited to SAP Fiori Elements)
  • Guided development for implementing functions ( Limited to SAP Fiori Elements)

If the Visual Studio Code As SAP UI5 development tool , We can install one called SAP Fiori Tools -Extension Pack An extension of , To install SAP Fiori Tools:

More specifically Visual Studio Code To build SAP UI5 The steps of the local development environment , Please refer to my article :SAP UI5 The construction of local development environment

This tool also has a command line interface ,Command Line Interface Abbreviation for CLI.

npm The warehouse address is as follows :https://www.npmjs.com/package...

SAP Fiori Tools - UI5 Tooling Contains a series of commands that can be used with ui5 serve Custom middleware used together , And can be used with commands ui5 build Custom tasks used together .

Besides , The module discloses fiori This named line , for example fiori run The order is ui5 serve The wrapper for the command , Some additional parameters and fiori add deploy-config and fiori add flp-config To expand existing projects .

If you run the command line locally npm run deploy Then something went wrong :

fiori is not recognized as an internal or external command

Check SAP UI5 In the project package.json In the file dependencies, See if... Is defined Fiori Tools CLI Corresponding dependence :

"@sap/ux-ui5-tooling": "1.0.10"

Run after adding npm install, then fiori add deploy-config, Encountered a new error message :

Error: Cannot find module '@ui5/fs'

It will be "@ui5/fs": "2.0.1" Add to devDependencies Area :

And then I saw Fiori tools CLI A reminder of , explain Fiori Tools CLI Already available :

more Jerry The original article of , All in :" Wang Zixi ":

原网站

版权声明
本文为[JerryWang_ WangZiXi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202201844143106.html