Use the SaveFileDialog component

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Save a file to a folder using the SaveFileDialog component in the RPA Desktop Design Studio. By default, the component opens the last file dialog you had opened.

    Antes de Iniciar

    Role required: none

    Por Que e Quando Desempenhar Esta Tarefa

    There are properties that you configure for the SaveFileDialog component. For more information, see Dialog component properties.

    Procedimento

    1. In the Toolbox pane, navigate to Utilities>Dialogs.
    2. Drag the SaveFileDialog component onto the Design surface.
    3. To open the last file dialog you had opened, right-click the SaveFileDialog component bar.
    4. Click Run From Here.
    5. In the Save As dialog, enter the name of the file in the File name field.
    6. Click Save.
      The Result (Boolean) and FileName (String) returns the Boolean response to whether you had opened a file and the file name and path respectively.
    7. Connect the data and control ports of SaveFileDialog to the corresponding ports of other components.
      Tabela 1. SaveFileDialog - Ports
      Port type Purpose of connection Mandatory?
      Data Out (Result) Passes the boolean response to whether the file was saved to the next component. Yes
      Data Out (Filename) Passes the name of the file that you saved and the path to the file to the next component. Yes
      Control In Passes the control from the previously executed component. Yes
      Control Out Passes the control from the Get Text component to the next component to be executed. Yes
    8. Opcional: To test the component, click Run under the DESIGN tab.