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: 
Image Placeholder

  1. Field Id
    This field will be automatically populated when a field is selected. It will display the internal ID of the selected field.

  2. 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.
  3. 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.

  4. 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:
Image Placeholder

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.

Note: 

  1. The WebView field is read-only. This means that the value of this field will not be sent to NetSuite upon form submission.

  2. You can create WebView fields for both body level and sublist level fields.
    1. If the WebView is at the body level, the complete record data will be sent.
    2. If the WebView is at a sublist level, the sublist along with its subrecord data will be sent.