cancel
Showing results for 
Search instead for 
Did you mean: 

Not able add more than 3 action buttons- RAP application

Karan_Chopra_
Active Participant
0 Kudos

Hi Experts

Is there a limitation in adding custom action buttons in RAP application?

I see no matter what combination I use I am not able to add more than 3 buttons, if I add annotation for more buttons only 3 are shown, depending upon the sequence.

Below is the annotations for Header and Object page. 

 

  @UI.lineItem: [
    { position: 10 , importance: #HIGH }
   ,{ type: #FOR_ACTION, dataAction: 'acceptTravel', label: 'Accept Travel' }
     ,{ type: #FOR_ACTION, dataAction: 'rejectTravel2', label: 'Reject Travel2' }
    ,{ type: #FOR_ACTION, dataAction: 'rejectTravel1', label: 'Reject Travel1' }
     ,{ type: #FOR_ACTION, dataAction: 'rejectTravel', label: 'Reject Travel' }
    ,{ type: #FOR_ACTION, dataAction: 'rejectTravel3', label: 'Reject Travel3' }
  ]
  @UI.identification: [
    { position: 10 , importance: #HIGH }
   ,{ type: #FOR_ACTION, dataAction: 'acceptTravel', label: 'Accept Travel' }  //added line
      ,{ type: #FOR_ACTION, dataAction: 'rejectTravel2', label: 'Reject Travel2' }
      ,{ type: #FOR_ACTION, dataAction: 'rejectTravel3', label: 'Reject Travel3' }
    ,{ type: #FOR_ACTION, dataAction: 'rejectTravel', label: 'Reject Travel' }  //added line
      ,{ type: #FOR_ACTION, dataAction: 'rejectTravel1', label: 'Reject Travel1' }
     ]
  @UI.selectionField: [ {
    position: 10
  } ]
  TravelID;

 

Karan_Chopra__0-1711479141316.png

 

Accepted Solutions (0)

Answers (0)