SuiteApp Version: 1.11 and above
Mobile App Version: 1.11 and above
Audience: Administrator
Use Case
- Displaying content from an external URL.
Summary
With eXtendMobile, you can easily display a URL as a WebView within a Function. This allows users to access and view additional information from an external URL.
It is also possible for WebView to have programatic access to current form data and in future we would be adding more capabilities to it for advanced use-cases which cannot be achieved using native builder.
In this article, we will explore the steps required to configure this inline WebView feature.
Configuration
To turn a text, long text, or URL field into an InlineWebView field, change its field type to INLINEWEBVIEW. You can also provide a default value for generating the WebView in this field.
Once you have selected the INLINEWEBVIEW field type, the following fields will appear on the field details page:
- Field Id
This field will be automatically populated when a field is selected. It will display the internal ID of the selected field. - Field Label
The label of the selected field will be automatically populated in this field. If you want to change the label for your function, you can modify it here. - Field Type
This field displays the type of the selected field. It determines which other fields of the field configuration are dependent on the field type. - Height of WebView
Specify the height (in pixels) for the web view section that will be displayed in the function.
Defaulting WebView URL
If you want to set a default value for the WebView URL, simply tap on the field card and specify the desired default value:
If you want to set a default value for the WebView URL, simply tap on the field card and specify the desired default value:
Field Display Rule
You can also add field display rules to this field type, similar to other fields. See Field Display Configuration for more information on field display rules.
You can also add field display rules to this field type, similar to other fields. See Field Display Configuration for more information on field display rules.
Note:
- The WebView field is read-only. This means that the value of this field will not be sent to NetSuite upon form submission.
- You can create WebView fields for both body level and sublist level fields.
- If the WebView is at the body level, the complete record data will be sent.
- If the WebView is at a sublist level, the sublist along with its subrecord data will be sent.