Editing Badges or Badge (Fields)

You edit an element by clicking the element.

Functions

Database field

The setting is only available for the Badge (Field) element.

Select the Database field you would like to display.

Description

This setting is only available for the Badge element.

The following options are available to change a static header or title.

Function

Description

With this button, you remove the current header.

With this button, you select a header. In the list, you can find all texts available for the open app.

With this button, you change the text of the header.

 
Note

This text may appear in different locations. If you edit the text, it will be changed in all locations.

System texts cannot be edited.

Using this button, you can enter a new text.

  • The Key (ID) field is completed automatically and you do not have to change it.
  • You can enter the text in any of the languages which are available in SmartWe.
 
Note

SmartWePremium

After clicking this button you can enter a script.

Scripting in the App Designer

Color

You can customize the color. To do so, enter a hexadecimal value or select a color from the color palette.

 
Note

SmartWePremium

After clicking this button you can enter a script.

Scripting in the App Designer

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.

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.

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.

Hide automatically

For an element you can set how it should behave if no content is available.

Option

Description

Activated

An empty element is always hidden.

Deactivated

A empty element is always displayed.

Default (activated)

Default (deactivated)

The setting of the parent element is adopted.

The brackets always contain the value that is set for the parent element. A parent element can, for example, be the z-layout.