on 2025 Jul 08 3:08 AM
Hi All,
Currently i just start to learn RAP.
I face an issue where the UI table did not show as selection. My CDS are Travel and Booking.
this is my metadata extension for Travel entity :
Not sure what mistake i made here while follow the sample..
Apprectiate if someone here can give feedback and help me go through while learning RAP.
Thanks.
Request clarification before answering.
I think if you are looking to enable multi select option in your List report. You have to first adapt and create UI out of it using BAS. In your BAS after you create project using Fiori element List report template , go to your manifest.json and add below property.
{
"pages": {
"ListReport": {
"entitySet": "YourEntitySet",
"multi-select": true
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Totally depends on your requirement then. Using RAP if you want to enable selection of line item, there must be some action you want to perform after selecting the row. If you just want to navigate to object page(detail), clicking on row item should be ok which lets you go to object page. Object page can be enabled using association in your CDS.
if you have an action to be performed via row select, multi select, you must enable action using annotation @ui.DataFieldForAction under @ui.LineItem. Adding this annotation will enable row selection box in front of each rows.
-BR
Tejas
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.