Webview URL
You can also configure the “Webview URL” data source for data manipulation at the application level. The webview component is a mobile app-integrated browser utility that has limited web browser capability. When you configure the Webview URL data source, you can use the HTTP and HTTPS protocol schemes. While configuring Webview URL data source, you can define GET and POST HTTP requests.
To configure the Webview URL data source:
You can use the “URL” data source to get the data from a URL. By using the URL data source, you can only issue the GET request. To configure the URL, you need to use the HTTP and HTTPS schemes. After the application sends the request to the configured URL, it gets the required data from the server.
To configure the URL data source:
- On the vFlow 2.0 module’s dashboard, see the left navigation panel.
- On the left navigation panel, click the Configurator icon (
), and the middle panel displays the list of different pages.
- In the list of pages, find the page where you want to configure the data source.
- After you find the page, move to the right in the same row, and then find the Edit icon (
) to the left of the three-dots icon.
- Click the Edit icon (
), and the middle panel displays the <<Page Name>> page (for example, the Data Submisssion page).
- On the Data Submission page, under Config, click Data, and the middle panel displays the Data Type list.
- Click the Data Type list and then select Webview URL, and the middle panel displays the following boxes:
- Type
- URL
- In these boxes, enter or select values as follows:
Fields | Description |
Type | Click this list to select one of the following values: a. Get Select this option when you want to configure an API request by using the Get method. The “Get” type API request is composed and issued in the form of a URL string. It does not have a request body. When an API request is issued with the Get method, it gets the data from the server. b. Post Select this option when you want to configure an API request by using the Post method. The “Post” type request is issued to create or update data on the server. |
URL | In this box, enter a URL. The application will send a request to this URL to create or update data. |
- After you define the request type and URL, click Save to configure the Webview data source.