Skip to content

Tutorial on how to add personalization capabilities to almost any control

License

Notifications You must be signed in to change notification settings

SAP-samples/ui5-p13n-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REUSE status

P13nify Everything - Personalization for Any Control

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.

UI5 Components in Focus

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. Filtering & Info Toolbar (sources, run app)
  7. Changing Control State (sources, run app)
  8. VariantManagement (sources, run app)
  9. (optional) Custom Filter Control (sources, run app)
  10. (optional) Filtering with GridList (sources, run app)

Final Application

This is the application you build during the tutorial:

Sample Application

Have a look now!

Requirements

Technical Requirements

  • A current version of Node.js (preferably 18+)
  • A code editor supporting TypeScript development

Required Knowledge

  • TypeScript knowledge to avoid blind copy and paste without knowing what's going on.
  • UI5 knowledge, as this tutorial focuses on the P13n concepts.

Known Issues

No known issues.

How to obtain support

This repository is provided as-is, without any support guarantees. However, you are welcome to report issues via the Issues tab and we'll see what we can do to fix them.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.