Editing the web frame

You edit an element by clicking the element.

Target address

In the Target address field, enter the full URL for the page you wish to display.

 
Note

SmartWePremium

After clicking this button you can enter a script.

Scripting in the App Designer

 
Tip

If you do not wish to display an external website in your web frame, then you can upload your own content to SmartWe. In this case, enter the name of the field you wish to display in the Target address field, for example, webapp.html.

If the HTML file in your ZIP file is stored in your ZIP file folder, then you will also have to enter the folder name, for example, 'html/webapp.html'.

Web frame: Update web content

Access to web services

Using the Access to web services option, you can authorize access to an authenticated REST end point.

Display width

In the Display width, you can enter a fixed width for the element.

If you leave the field empty, the element inherits the width of the parent layout element.

Display height

In the Display height field, you can enter an individual height for the element.

If you leave this field empty, the default value of the browser is used.

Device classes

In the Device classes field, you can define the types of devices on which the elements can be displayed.

Option

Description

Mobile

The element is displayed in the SmartWe Mobile App.

Web

The element is displayed in SmartWe in the browser.

Visible

With the Visible option, you define whether the element should be displayed.

 
Note

SmartWePremium

With this button, you can also enter a script to individually define the visibility.

Enabled

With the Activated option, you define whether the element is activated or deactivated.

If you clear the checkbox and thus disable the element, it will be displayed in read mode only. If buttons are available for the element, they will be displayed grayed out.

The Activated option is only available in the editing mode of a data record.

 
Note

SmartWePremium

This button allows you to enter a script as an alternative if you want to individually control the activating and deactivating of the element.

Only readable

With the Only readable option, you define whether the element can be edited or is displayed in read mode only.

If you activate this option and the element is displayed in read mode only, any existing buttons will be completely hidden.

The Only readable option is only available in the editing mode of a data record.

 
Note

SmartWePremium

This button allows you to enter a script as an alternative if you want to individually control under which conditions the element is displayed in read mode only.