Skip to content

Commit 800b6d6

Browse files
authored
Update custom_control.md
1 parent fdc0398 commit 800b6d6

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed
+13-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1-
# Custom Controls
1+
# Custom Controls
22

3-
You can develop your own UI5 custom controls and integrate them with the ABAP backend. Check out [this guideline](https://community.sap.com/t5/technology-blogs-by-members/abap2ui5-11-extensions-ii-guideline-for-developing-new-features-in/ba-p/13576797) to learn more.
3+
You can develop your own UI5 custom controls and use them in your abap2UI5 apps.
4+
5+
Set up your VS Code environment with the abap2UI5 frontend artifacts as described in the frontend chapter.
6+
7+
#### Frontend
8+
9+
Create the JS code for your new custom control. You can copy and paste an existing custom control of this file and adjust it to your needs:
10+
https://github.com/abap2UI5/abap2UI5/blob/main/app/webapp/controller/App.controller.js
11+
12+
#### Backend
13+
Extend the custom control view class by adding an additional method and defining the properties of your custom control here:
14+
z2ui5_cl_xml_view_cc.clas.abap](https://github.com/abap2UI5/abap2UI5/blob/main/src/02/z2ui5_cl_xml_view_cc.clas.abap

0 commit comments

Comments
 (0)