Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step-by-step guide

  1. Once you have added the element to the form, select the "Action on change" or "Action if pressed" (depending on the element that is chosen) in the properties of the element.
      
  2. Click on the  button to reveal the available Actions to choose from.
     
  3. Click on the F4 search help and select the action "FabAction" from the list
     
  4. Enter in the action name in the Parameter field (e.g. SendEmailAction)
     
  5. Click on the green tick to accept the new action
  6. Click on the  button in the form to launch the methods of the implementation class.
  7. Select the "Perform Action at any time" method
     
  8. The method will open in the code editor.
  9. Enter the code that you would like to trigger in the corresponding action 
  10. Check, Save and Activate your code.
  11. When the action is triggered on the form, the code will execute in the background
     

...

Info

Note that the action name is case sensitive.

Using the FabAction in the Action on change or Action if pressed, does not allow import and export parameters. If you wish to have import and export parameters, you could use the JavaScript function "fabPerformAction" in the form script. Refer to the help provided in the Script editor under the Fab Action section
.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@223dfe
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("onchange","action","onpress","fabaction") and type = "page" and space = "IFAB"
labelsaction fabaction onchange onpress

...

Page Properties
hiddentrue


Related issues