How to configure downlaod file in vDesigner2.0?

How to configure downlaod file in vDesigner2.0?

6 Likes

When you configure the Download File task, it downloads the file from the configured URL-based location as a result of the user’s action. After the Download File task successfully downloads the file, it stores the file in the default app’s storage location on the device.

Steps to Configure :-

To configure the Download File task:

  1. On the task group’s name page, see the Task panel.
  2. In the Task panel, search and find the Download File task.
  3. Drag the Download File task from the Task panel to the Execution block.
  4. Under Download File, a group of boxes comes into view.
  5. In the group of boxes, configure related properties as follows:
  • URL: This property allows you to configure the URL-based location that the Download File task accesses to download the file. You can configure the URL as follows:

You can configure the URL in the following ways:
a. Defining URL Manually
To configure the URL manually:

  1. Click in the URL box, and a smart selector expands.
  2. In the Search box, enter static , and the smart selector displays the Static function.
  3. In the Static function, click the Number parameter, and a list of different data types expands.
  4. In the list, select String , and then click the value parameter.
  5. In place of the value parameter, enter the URL string manually as follows:
    www.example.com/widgets

b. Selecting an Attribute

  1. Click in the URL box, and a smart selector expands.

  2. In the URL box, enter the attribute’s name that contains the URL string, and the smart selector displays the attribute’s name.

  3. In the smart selector, select the attribute.

Note:-The following JSON object contains the URL string. This JSON object has been defined in the Data Modeler module.

  • File Name : In this box, enter the name of the file (for example: – myvideo.mp4 ). After the Download File task downloads the intended file, it saves the file with the file name that you entered in the File Name box.

  • Instant Share : This property provides the following options:
    a. Yes This tab is selected by default. Selecting this option makes the file sharing feature available.
    b. No Selecting this option makes the file sharing feature unavailable.

  1. After you configure the related properties, click Save to configure the Download File task.
5 Likes