Adding data import functionality to your application

You can launch the Data Import wizard from anywhere in your application, and then automatically call that activity in the background from a service or agent. For example, for easy access to the Data Import wizard, add a data import button to your application landing page. The Data Import wizard launches in a new tab.

Before you begin: Create a button and add an action set. For more information, see Configuring a Button control and Adding actions to a control.
  1. In App Studio in the design pane of the landing page, for the button that you want to edit, click Edit this "Button".
  2. Click Add action sets, and then click Create an action set.
  3. Click Add an action > All actions.
  4. In the Get work list, click Create work.
  5. In the Class Name field, enter PegaAccel-DataImport.
  6. In the Flow Name field, enter pxDataRecordsImport.
    This selection connects the action with the pxDataRecordsImport flow.
  7. Click OK.