Betty Blocks has its own export function inside the application. This export function is active on every grid. It enables you to export you data from a Grid to an Excel or CSV file in a few clicks.

Setting up export configurations

  1. Go to the Back Office page by clicking on the Back Office icon in the Builder Bar.
  2. Select a Grid from the Sidebar that you want to make an export of.
  3. Click on the export icon in the header of the Grid view, a menu will slide down. To start a new export, click on the Compose export button.
  4. The Compose an export definition modal will pop up. Within this modal, you can choose which properties you want to include within your export file. The properties that will be included in your export file will be shown on the right side of the modal. A few properties will already be selected, these are the properties that are present within the grid you are exporting from.
  5. It is possible to change the name of the header of a property by clicking on the name of a selected property. The name will change into a text field where it can be edited for the export file.
  6. By clicking on the gear icon on the bottom left of the modal a few more settings will pop up. If you want to know more about each setting within the Compose an export definition you can take a look at this article: Export Reference
  7. When you are done setting up everything you can start the export by clicking on the Export button. It is also possible to save the export by clicking on the Save and export button, this will save time when you need to do the same export multiple times.
  8. After the export is executed a notification will pop up, this means that the export is ready to download. The export file can be downloaded in the download tab in the bottom right corner of the Sidebar.
  9. Click on the download icon of the export file to download the file.
  10. If the export settings were saved then they can be re-used. This can be done by clicking on the export icon in the header of the grid view and choosing the saved export settings. This way the export will be executed immediately.

Using exporting with actions

Actions can also be used to make exports. This way it's possible to automize the exporting. To be able to create an export event there needs to be a saved export definition for that specific grid.

  1. Go to the Actions page by clicking on the Actions icon in the Builder Bar.
  2. Create a new action by clicking on the New button on the upper left side of the screen.
  3. Choose a description and a model for the action. Note that a collection should be used in the action event to export the data from. This collection can be created in the variables section of the action.
  4. Click on the Save button if you are done with setting up the action.
  5. Now create a new action event for the action by clicking on the plus icon inside of the action.
  6. A new action event will be created. This event should be set to an Export event. This can be done in the Kind drop-down. By doing this the form will get the right format to set up the export.
  7. Now we have to choose a Grid which will reference our export, in this drop-down all the Grids are displayed. Choose the grid of the model that you want to make an export of.
  8. Select the collection containing the export data. By clicking on the Click to set button the Variables browser will pop up, in this browser you can choose a collection for your export.
  9. Choose the export definition that you want to use for the export. If none can be chosen, it should be created within the export configurations.
  10. If you are done with setting up the action event you can click the Save button to save it.
  11. You can continue with creating your action to add specific rules to the execution of the import. If you are done with creating your action your can press the Save button to save it.
Did this answer your question?