Show TOC

Creating a CSR CHIPLocate this document in the navigation structure

Context

For developing client-side rendering CHIPs (CSR CHIPs) you basically use the UI Development Toolkit for HTML5 (SAPUI5). The SAPUI5 application is extended by a CHIP definition, which is used to enable the application to run in a page builder.

Procedure

  1. Create an SAPUI5 Application Project with an SAPUI5 view.
  2. Insert the chipdefinition.xsd into your project. The schema is part of your installation and can be found here: http://<server>:<port>/sap/public/bc/ui2/services/sap/ui2/srvc/chipdefinition.xsd
  3. Create a CHIP definition xml file, e. g. called mychip.chip.xml and define the entries. For more information, see CHIP Definition XML.
    Tip To enable XML validation and code completion, go to Start of the navigation path Windows  Next navigation step Preferences  Next navigation step Web and XML  Next navigation step XML Catalog End of the navigation path and create an entry for the chipdefinition.xsd file.
  4. To access the CHIP API, proceed as described under Accessing the CHIP API and the contracts.
  5. Create the content of your CHIP with the SAPUI5 means.