ui5con2022-p13n-ws

P13nify Everything - Personalization for Any Control

⚠️ Note

The tutorial moved to https://github.com/SAP-samples/ui5-p13n-tutorial. This git repo will become an archive and will not receive updates.

Made with ❤️ for
UI5Con Hybrid 2022

Description

In this tutorial you can learn how to add personalization capabilities to almost every control. If you have a custom control that you would like to enhance with filtering, sorting, or other options this tutorial is for you.

You will be lead through the enablement of a custom control using the assets provided by UI5. You can also learn, how to use those assets to enhance your application with personalization capabilities. You should be able to apply your knowledge afterwards in your own application or control development.

A recording of the corresponding UI5Con workshop is available on UI5con HYBRID 2022: P13nify Everything - Personalization for Any Control (Workshop).

UI5 Components in Focus

Disclaimer

The sap.m.p13n.Engine is currently in the status experimental. It is included in UI5 and usable, but we are still considerung minor changes of the API. This is why for productive usage you should wait for the public release, which we plan for one of the next UI5 versions. Thank you for your understanding!

Prerequisites

Exercises

  1. Setup the Application
  2. Custom Table for P13n (sources, run app)
  3. Engine Registration (sources, run app)
  4. Column Selection (sources, run app)
  5. Sorting and Grouping (sources, run app)
  6. Changing Control State (sources, run app)
  7. Grid Filter Control (sources, run app)
  8. Filtering the Table (sources, run app)
  9. Info Toolbar for Filters (sources, run app)
  10. Customizations and Clear Filters (sources, run app)
  11. VariantManagement (sources, run app)

Final Application

This is the application you build during the tutorial:

Sample Application

Have a look now!

Feedback and Issues

Please do not hesitate to let us know if you find something that is wrong or could be improved. You can open a new issue in this repository.

Authors

License

Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved.