docs

Creating Blocks

Important points when creating blocks for the sap.uxap.ObjectPageLayout


Decide which kind of block to use:


Single View Block Creation

Note:

It’s not mandatory to put the BlockName.js file and the related XML view in the same folder since you are able to provide the view file path by using the sap.uxap.BlockBase's API. However, if no path is provided, the sap.uxap.BlockBase will look for an XML view file with a matching name in the same folder where the BlockName.js is located.

For example, sap.uxap.BlockBase would match AddressesBlock.js with AddressesBlock.view.xml.


Multiple View Block Creation


Free Form Block Creation

Related Information

API Reference: sap.uxap.BlockBase