Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Fields are the lowest level in the User Interface Editor hierarchical structure. Fields can only be added to an element, not directly to a group or tab. When adding a field, you can chose from 8 different field types: Yes/No, Text, Multi line text. Formatted text, Numeric, Multiple choice, Fixed text and Date. The field types have some common characteristics and some special for the field type. We will explain what you can do with each field later on this page.

image-20240410-072920.png

Create new field 

  1. Select the element where the new fields should be added to. 

  2. Select "New field" in the top menu and chose desired field type from the drop-down menu, or right-click an element and select “New field → ”

  3. Enter properties. Read more below.

    image-20240410-073226.png

Field types

Fields may be different types and also have different properties, according to type. The following fields types are available in dRofus:

Field type

Explanation

Multi line text

Text field which cover several lines. Designed for fields that potentially will contain paragraphs of text. You can decide the size of the field.

Formatted Text

Same usage as Multi line text with the addition that it allows for formatting (ie Bold, Italic, colored text etc).

Formatted text fields cannot be used for excel import/export workflows and cannot be added as columns to lists.

Yes/No

Yes/No field (checkbox). Can be used alone or together with other field types. e.g. as an enabler of other fields.

Numeric

Field for numerical values. You can specify total number of digits allowed, and number of decimals.

Multiple choice

Fields where you can choose between several predefined options (text). Can be presented as a drop-down menu (combo-box) or radiogroups.

Text

One-line text field

Date

Field for setting date.

Fixed text

Field for fixed text which cannot be edited.


Properties

Some properties are common to all field types, and others are specific to certain field types. The last column in the table (Field type) will inform which field type the property is available for:

Property

Explanation

Field type

ID

Database unique ID for the field

All

Label

Optional label to be placed either before or after the field. Use the associated dropdown to define where to show the label.

All

Tooltip

Help text that will appear as users hover over the field in the user interface

All

Enabled/Disabled by

If you want the selected field to be enabled/activated by a Yes/No field. Use the associated dropdown list to select a yes/no field available within the tab. A field can not be enabled by a Yes/No field placed in another tab.

All

Read-only

Set to read-only to lock values. Setting this option will prevent changes from all sources (Desktop, WEB, Excel, Revit/Archicad, API etc.)

All, except Fixed text

Height

Option to overwrite default height. By default, the field will span to use available space. It’s recommended to use default behavior, but overwrite if you have special needs.

Insert height in rows vertically.

Multi line text, Formatted text

Width

Option to overwrite the default with of the field. By default, the field will span to use available space. It’s recommended to use default behavior, but overwrite if you have special needs.

Insert width in pixels horizontally.

Text, Multi line text, Formatted text, Numeric, Multiple choice, Fixed text

Text

Only available for Fixed text. This property contain the text value you want to show in the user interface.

Fixed text

Underline & Center

Only available for Fixed text. Controls underline of the text value and if text value should be center aligned or not. Default behavior is left aligned

Fixed text

Show label above

This option will place the element label, if used, above Formatted text or Multi line text fields. Making the field use more available space in the user interface and in PDF reports

Multi line text. Formatted text

Data type

Option to specify data type for numeric fields. If left blank the field will have default data type which is whole numbers

Numeric

Total number of digits

Define how many digits should be allowed in the numeric field. If left blank the default value of 7 will be used.

Numeric

Number of decimals

Define how many of the allowed digits to be decimals. If left blank the default value of 2 will be used.

Numeric

Style

Specifies the appearance of Multiple choice fields

  • Combo box, not editable , provides a drop-down menu which cannot be edited directly, but where you have to select one of the predefined options.

  • Combo-box, editable, provides a drop-down menu where you can enter text freely or select one of the predefined options.

  • Radiogroup. Positions radio buttons on top of each other per option

  • Radiogroup horizontal. Positions radio buttons one after the other in a horizontal line and not on top of each other as above.

Multiple choice

Dropdown values

In Multiple choice fields, each value represent an option in the multiple choice list. If you wish to add a blank option, make sure to select “Add empty value” (see below). The dropdown values will be sorted by their input position.

Multiple choice

Add empty value

In Multiple choice fields, this option will add an empty value so users can clear the field if needed.

Multiple choice

Days rollback

Define how many days tp roll back as default. If left blank the current date will be set as default.

Copy fields

  1. Select field

  2. Right-click

  3. Select “Copy”

  4. Select the element to paste into

  5. Right click element and select “Paste”

Fields can also be copied when elements, groups or tabs, containing fields, are copied.

Delete fields

Select one or more fields and delete using the “Delete” option in the top menu or Right click → Delete.

Fields will also be deleted when elements, groups or tabs, containing fields, are deleted.

Convert fields

A field can be converted to another field type. To convert a field, select field and press “Convert to” either from the top menu or the right click context menu. Select the field type you wish to convert to.

When converting a field to another field type you may loose data. Some fields are not compatible with each other. For example, if converting


  • No labels