What is Button Action?

Button Actions let you define the execution/process (What needs to happen)  when a button is clicked by the user. Multiple actions can be defined on a single button.

How to add Button Action?

  1. In the designer view, select the button on which action needs to be defined
  2. Click on New button to add a child Item
  3. Select the item type as Button Action 
  4. Choose the Action you want to perform from the list of actions displayed
  5. Optionally specify a condition  under which this action can be performed

Different kinds of Button Action

  • Go Back: This action can be used to go back to the previous page.
  • Clear: This action can be used to clear whole Records of Grid or Fields.
  • Clear Current Record: This action can be used to clear the selected record from Grid.
  • Close Popup: This action can be used to close open Popup Box.
  • Delete: This action can be used to delete selected record.
  • Go To Home Page: This action can be used to go back to the Home Page defined for the role.
  • New: This action can be used to create new record.
  • New at Last: This action can be used to create a new record at the last index (applicable to a Grid).
  • New Group: This action can be used to create new group in the Grid. To use this action you must specify the group by view attribute in the grid. 

  • Refresh: This action can be used to refresh whole page.
  • Reset Block: This action can be used to reset the block.
  • Reset Record: This action can be used to reset current record in the grid.
  • Save: This action can be used to save all the  modification in a page.
  • Autonomous Save:  By default all the datasources being used in a page are saved when a Save action is specified. If the requirement is to perform save on the datasource being used by the panel on which this particular button is then this action can be used.
    • Silent Commit: Enabling this property for Autonomous save action will save the datasource with user not being notified of it.
  • Touch Record: This action can be used to make a record dirty.
  • Delete on confirmation :  A confirmation message is shown to the user before the Delete action is performed.
  • Button on a Panel (Content Panel, Grid, Form) Header: 

If you have a button as an immediate child to a panel and then you want the button to be displayed on the header of the panel then check the 'Show On Header' property. 

Dynamic Content On  a button:
If you want to have the dynamic text on the buttons, then you have to specify the syntax as
 #{datasource.attributename} for the Text property of a button.

 

Location

101 California Street, Suite 2710
San Francisco, CA 94111


440 N. Wolfe Rd.
Sunnyvale, CA 94085


Office 11, 5th Floor, Building 9,
Mindspace IT Park
Hyderabad 500081

p: +1 (844) AT CloudIO (844-282-5683)
f: +1 (650) 300-5247 | e: sales@cloudio.io
© 2009, 2017 CloudIO Inc. | Terms of Use | Privacy Policy