|
| 1 | +--- |
| 2 | +outline: [2, 3] |
| 3 | +--- |
| 4 | +# Samples Index |
| 5 | + |
| 6 | +The [abap2UI5 samples repository](https://github.com/abap2UI5/abap2ui5-samples) ships 250+ runnable demo apps. Many pages in this documentation reference them by class name (e.g. `Z2UI5_CL_DEMO_APP_167`). This page explains how to locate a sample and lists the ones most often referenced in the docs. |
| 7 | + |
| 8 | +## Naming Convention |
| 9 | + |
| 10 | +Every demo app follows the pattern: |
| 11 | + |
| 12 | +```text |
| 13 | +z2ui5_cl_demo_app_NNN |
| 14 | +``` |
| 15 | + |
| 16 | +Where `NNN` is a zero-padded three-digit number. Sources live under `src/` in the samples repository, grouped into folders (`00/`, `01/`, `02/`, …) by number range. |
| 17 | + |
| 18 | +## Finding a Sample |
| 19 | + |
| 20 | +The fastest ways to locate a class by name: |
| 21 | + |
| 22 | +- **Direct file URL** — replace `NNN`: |
| 23 | + `https://github.com/abap2UI5/abap2ui5-samples/blob/main/src/0X/z2ui5_cl_demo_app_NNN.clas.abap` |
| 24 | +- **GitHub search** — search the samples repo: |
| 25 | + [`https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_NNN`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app) |
| 26 | +- **In the running app** — press `Ctrl+F12` on any sample to open its source. |
| 27 | +- **In your browser, no system needed** — [browse all samples online](https://abap2ui5.github.io/web-abap2ui5-samples/). |
| 28 | + |
| 29 | +## Frequently Referenced Samples |
| 30 | + |
| 31 | +Samples cited from this documentation. Topic shows where in the docs the sample is used; click through to see it on GitHub. |
| 32 | + |
| 33 | +| Sample | Topic | |
| 34 | +| ------------------------- | ------------------------------------------------------------- | |
| 35 | +| [`Z2UI5_CL_DEMO_APP_000`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_000) | [App State](/development/navigation/app_state) | |
| 36 | +| [`Z2UI5_CL_DEMO_APP_001`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_001) | [Controller basics](/development/general) | |
| 37 | +| [`Z2UI5_CL_DEMO_APP_003`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_003) | [Cloud Readiness](/technical/cloud) | |
| 38 | +| [`Z2UI5_CL_DEMO_APP_027`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_027) | [Expression Binding](/development/model/expression_binding) | |
| 39 | +| [`Z2UI5_CL_DEMO_APP_067`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_067) | [Formatter](/development/specific/formatter) | |
| 40 | +| [`Z2UI5_CL_DEMO_APP_075`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_075) | [File Handling](/development/specific/files) | |
| 41 | +| [`Z2UI5_CL_DEMO_APP_120`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_120) | [Geolocation](/development/specific/geolocation) | |
| 42 | +| [`Z2UI5_CL_DEMO_APP_122`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_122) | [Device Model](/development/model/device) | |
| 43 | +| [`Z2UI5_CL_DEMO_APP_124`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_124) | [Barcode Scanning](/development/specific/barcodes) | |
| 44 | +| [`Z2UI5_CL_DEMO_APP_135`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_135) | [Statefulness](/advanced/stateful) | |
| 45 | +| [`Z2UI5_CL_DEMO_APP_137`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_137) | [Statefulness](/advanced/stateful) | |
| 46 | +| [`Z2UI5_CL_DEMO_APP_139`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_139) | [URL Handling](/development/specific/url) | |
| 47 | +| [`Z2UI5_CL_DEMO_APP_161`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_161) | [Popups, Popovers](/development/popups) | |
| 48 | +| [`Z2UI5_CL_DEMO_APP_167`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_167) | [Events](/development/events) | |
| 49 | +| [`Z2UI5_CL_DEMO_APP_180`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_180) | [Events](/development/events) | |
| 50 | +| [`Z2UI5_CL_DEMO_APP_186`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_186) | [File Handling](/development/specific/files) | |
| 51 | +| [`Z2UI5_CL_DEMO_APP_304`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_304) | [Barcode Scanning](/development/specific/barcodes) | |
| 52 | +| [`Z2UI5_CL_DEMO_APP_306`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_306) | [Camera](/development/specific/camera) | |
| 53 | +| [`Z2UI5_CL_DEMO_APP_307`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_307) | [Drag & Drop](/development/specific/drag) | |
| 54 | +| [`Z2UI5_CL_DEMO_APP_313`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_313) | [Smart Controls](/development/specific/smart_controls) | |
| 55 | +| [`Z2UI5_CL_DEMO_APP_315`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_315) | [OData](/development/model/odata) | |
| 56 | +| [`Z2UI5_CL_DEMO_APP_321`](https://github.com/abap2UI5/abap2ui5-samples/search?q=z2ui5_cl_demo_app_321) | [App State](/development/navigation/app_state) | |
| 57 | + |
| 58 | +::: tip Contributing |
| 59 | +The list above is curated from samples referenced in this documentation. The samples repo evolves continuously — for the full set, browse the [samples repository](https://github.com/abap2UI5/abap2ui5-samples) directly. |
| 60 | +::: |
0 commit comments