Skip to main content

Question about quick actions associated with lightning components:

With lightning quick actions we have this feature to associate a quick action to a lightning component. there are two options in the lightning component implementation:

 

1) implements="force:lightningQuickAction"

 

2) implements="force:lightningQuickActionWithoutHeader"

 

The first option provides an additional header and footer in the  modal window with header showing the name of action and footer showing cancel button. As per my understanding cancel button is to close the modal window and come out of the quick action.

 

Question: Are there more standard buttons coming in future for the modal window and is there an option to customize and display only the buttons needed.

 

The second option just shows a similar window but without header and footer.

 

Question: I have an option t close that window once the quick action functionality is executed successfully. Is is possible to not show the modal window at all when that quick action is clicked. For some of my JS buttons, all they do is take the context of the record and conditionally execute some apex in the back end and there is no Ui or any fields where the user has to fill in information. So it just displays an empty modal window. I can put some informational message in that window but I just want to know if it is possible to not have that modal window shown at all.

 

Any insights on this .. @Fabien Taillon 

#JS_Alternatves 

7 件のコメント
0/9000