How to trigger a record action using a!buttonWidget instead of a!recordActionField

Certified Associate Developer

I want to create a custom UI where all my actions are displayed as styled buttons using a!buttonWidget, but still open the native record action dialog (start form, etc.) the way a!recordActionField does. Currently, a!recordActionField works fine for triggering the action and opening the dialog, but it doesn’t give me the same level of styling flexibility as a!buttonWidget. I tried using a!startProcess() inside the saveInto of a button, but that just runs the process silently without opening the dialog. Is there any way to call a record action directly from a button widget (and open its dialog), or is a!recordActionField the only supported method?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Thanks, understood. One thing I realized is that the other button works differently, it doesn’t open a dialog but instead toggles a grid and extra controls on the same page (using showWhen and a!startProcess for submit/cancel). The new action, however, needs to be a pop-out since it’s not related to the grid, just another functionaility that the business request.