on 2023 Jan 17 8:17 AM
Hi,
I wanted to add actions from Behavior Definition inside different drop down menus (Refer image)
I want to group these actions inside (example) three separate drop downs (Refer preferred output)
my current code:
Behavior Definition:
action ( features : instance ) a1 result [1] $self;
action ( features : instance ) a2 result [1] $self;
action ( features : instance ) a3 result [1] $self;
action ( features : instance ) b1 result [1] $self;
action ( features : instance ) b2 result [1] $self;
action ( features : instance ) b3 result [1] $self;
action ( features : instance ) c1 result [1] $self;
action ( features : instance ) c2 result [1] $self;
action ( features : instance ) c3 result [1] $self;
Behavior Projection:
use action a1;
use action a2;
use action a3;
use action b1;
use action b2;
use action b3;
use action c1;
use action c2;
use action c3;
Metadata:
@UI: { lineItem: [ { position: 90 },
{ type: #FOR_ACTION, dataAction: 'a1', label: 'A1' },
{ type: #FOR_ACTION, dataAction: 'a2', label: 'A2' },
{ type: #FOR_ACTION, dataAction: 'a3', label: 'A3' },
{ type: #FOR_ACTION, dataAction: 'b1', label: 'B1' },
{ type: #FOR_ACTION, dataAction: 'b2', label: 'B2' },
{ type: #FOR_ACTION, dataAction: 'b3', label: 'B3' },
{ type: #FOR_ACTION, dataAction: 'c1', label: 'C1' },
{ type: #FOR_ACTION, dataAction: 'c2', label: 'C2' },
{ type: #FOR_ACTION, dataAction: 'c3', label: 'C3' }
],
identification: [ { position: 90 },
{ type: #FOR_ACTION, dataAction: 'a1', label: 'A1' },
{ type: #FOR_ACTION, dataAction: 'a2', label: 'A2' },
{ type: #FOR_ACTION, dataAction: 'a3', label: 'A3' },
{ type: #FOR_ACTION, dataAction: 'b1', label: 'B1' },
{ type: #FOR_ACTION, dataAction: 'b2', label: 'B2' },
{ type: #FOR_ACTION, dataAction: 'b3', label: 'B3' },
{ type: #FOR_ACTION, dataAction: 'c1', label: 'C1' },
{ type: #FOR_ACTION, dataAction: 'c2', label: 'C2' },
{ type: #FOR_ACTION, dataAction: 'c3', label: 'C3' }
] }
Please suggest how to do this.
Regards.
were you able to achieve through annotations?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.