diff --git a/docs/Developing-an-Application/configure-page-elements-047507c.md b/docs/Developing-an-Application/configure-page-elements-047507c.md index d3de756..a94374c 100644 --- a/docs/Developing-an-Application/configure-page-elements-047507c.md +++ b/docs/Developing-an-Application/configure-page-elements-047507c.md @@ -6,7 +6,7 @@ Developers can configure the SAP Fiori elements applications by using manifest settings and SAPUI5 flexibility changes \(`OData V2`\) in the *Page Editor*. The configuration properties available for UI-based maintenance are provided by the @sap/ux-specification node module, which is installed in the application's root folder. -There are different module versions that correspond to the different SAPUI5 versions. You can find the right version by checking the UI5-\* tags at [@sap/ux-specification](https://www.npmjs.com/package/@sap/ux-specification?activeTab=versions). In case you need to change the **minUI5version** please see, [Application Minimum SAPUI5 Version](../Project-Functions/application-minimum-sapui5-version-009f43e.md). +There are different module versions that correspond to the different SAPUI5 versions. You can find the right version by checking the UI5-\* tags at [@sap/ux-specification](https://www.npmjs.com/package/@sap/ux-specification?activeTab=versions). In case you need to change the **minUI5version** please see, [Application SAPUI5 Version](../Project-Functions/application-sapui5-version-009f43e.md). An overview of the available manifest and **UI5** flexibility properties can be accessed in the [Application Information](../Project-Functions/application-information-c3e0989.md) page. In addition, you can access the Configuration Documentation by right-clicking on your project in the tree view of the application modeler. diff --git a/docs/Project-Functions/application-minimum-sapui5-version-009f43e.md b/docs/Project-Functions/application-minimum-sapui5-version-009f43e.md deleted file mode 100644 index a35d94e..0000000 --- a/docs/Project-Functions/application-minimum-sapui5-version-009f43e.md +++ /dev/null @@ -1,8 +0,0 @@ - - -# Application Minimum SAPUI5 Version - -The minimum SAPUI5 version declares the version, which is required at runtime to support all the features used in application development. If the target system for deployment doesn’t have the required minimum, the [deployed application](../Deploying-an-Application/deploying-an-application-1b7a3be.md) in SAP Fiori tools shows a warning. The version must be defined by the developer. This can be done during generation when selecting a version for the project. Later changes can be done with the command `Fiori: Change Minimum SAPUI5 Version`. - -The application's minimum version is also used to determine which corresponding version of [@sap/ux-specification](https://www.npmjs.com/package/@sap/ux-specification) is installed along the project to provide the matching feature set in application modeler and guided development. - diff --git a/docs/Project-Functions/application-sapui5-version-009f43e.md b/docs/Project-Functions/application-sapui5-version-009f43e.md new file mode 100644 index 0000000..cf40f67 --- /dev/null +++ b/docs/Project-Functions/application-sapui5-version-009f43e.md @@ -0,0 +1,120 @@ + + +# Application SAPUI5 Version + + + + + +## Minimum SAPUI5 Version + +The minimum SAPUI5 version declares the version which is required at runtime to support the features used in application development. It is set via the `minUI5Version` property in the `manifest.json` file: + +> ### Sample Code: +> JSON +> +> ``` +> { +> "sap.ui5": { +> "dependencies": { +> "minUI5Version": "1.120.4" +> } +> } +> } +> ``` + +If the target system does not have the required minimum SAPUI5 version, a warning message appears when deploying your application. For more information, see [Deploying an Application](../Deploying-an-Application/deploying-an-application-1b7a3be.md). The minimum SAPUI5 version is set during generation when selecting a version for the project and can also be changed using the *Fiori: Change Minimum SAPUI5 Version* command. + +It is also used to determine which version of the [@sap/ux-specification](https://www.npmjs.com/package/@sap/ux-specification) module is installed to provide the matching feature set in Application Modeler and Guided Development. Changing the minimum SAPUI5 version with the *Fiori: Change Minimum SAPUI5 Version* command will update the `@sap/ux-specification` module if needed. + + + + + +## SAPUI5 Preview Version + +The application's minimum SAPUI5 version is used by default for previewing an application in the development environment. You can use a different version by creating a run configuration. For more information, see [Previewing an Application](../Previewing-an-Application/previewing-an-application-b962685.md). + +The SAPUI5 preview version is fetched by default from `https://ui5.sap.com`. If the requested version is not found, the next higher available version is used. You can set different source paths and different default SAPUI5 preview versions by configuring `@sap/ux-ui5-tooling`. For more information, see [@sap/ux-ui5-tooling](https://www.npmjs.com/package/@sap/ux-ui5-tooling?activeTab=readme). + + + + + +## SAPUI5 Deployed Version + +The SAPUI5 version used for a deployed application depends on the target platform and whether an application is running standalone or embedded in the SAP Fiori launchpad. + + + +### ABAP Environment + +**SAP Fiori launchpad** + +SAP Fiori applications deployed to an ABAP environment and embedded in SAP Fiori launchpad will use the SAPUI5 version deployed in the backend. + +**Standalone** + +If the application is running standalone using a deployed `index.html`, then the version depends on the configuration in the `index.html` file. Applications generated with the SAP Fiori generator contain an `index.html` file with a relative path to the host: + +> ### Sample Code: +> HTML +> +> ``` +>