View field
The element "View field" belongs to the basic controls. View fields will be used to display data from linked data fields. As is the case for edit fields, various control types can be selected.
The View field element can be found in the "Applications" module in the "Elements" area. A new view field can be created by dragging & dropping the element from here and positioning it in the workspace.
More information on creating elements can be found here.
The properties dialog of a view field element opens automatically when a new view field is created. The properties dialog of an existing view field can be opened by double-clicking on the element in the workspace, via the "Properties" context menu, or via the "Edit / Properties" main menu, if the view field is selected in the workspace.
General
Provide the view field with a title. Click here for information on multilingual titles.
Options - "Text" and "Video" control types
HTML
This format option will interpret the text as HTML.
Activate protection against Cross-Site-Scripting
If this setting has been set, this will prevent information from a context where it is not trusted, being inserted into a context where it would be classified as trustworthy.
Text
If this option is selected, unformatted text will be shown.
Maximum text length
Here you can specify the maximum number of characters to be displayed using an integer. The value -1 causes all characters to be displayed.
Ellipsis
The character entered here will be attached to the last displayed character when the text length exceeds the maximum allowed text length.
Wordwrap
You can define the type of line break here.
Options - "Telephone" control type
SMS
With this control type, the text in the browser will be constructed as a link, that can be used to send an SMS or to create a telephone connection with an automatically dialed number. For telephony, the following protocols can be selected:
-
tel:
automatic number selection for mobiles
-
callto:
automatic number selection for mobiles and fixed line telephones
-
wtai://wp/mc:
automatic number selection for mobiles
If problems while constructing a telephone connection occur, please contact the manufacturer to clarify which protocol is appropriate for your telecommunication end device and whether additional browser plugins are required.
Show option "Add to phonebook" (Not supported by all mobile devices)
With this setting, telephone numbers can be added to the phonebook of the mobile device.
Image
Enter the path and name of the image, which should be shown in the browser to add a contact to the phonebook.
Edit
Opens a dialog where an image can be selected.
Name
Select a string data field that contains the telephone number.
Column presentation in view tables
Click here for more information about this topic.
Options - "Web application" control type
With this control type, you can add dynamic links to web applications, such as location and destination for a web application that calculates routes, to an Intrexx application.
Link
Enter the URL without a parameter here. With the keyboard combination "Alt + .", the URL "https://maps.google.de?saddr=" (Portal Manager German) or "https://maps.google.com?saddr=" (Portal Manager English) will be added automatically as the link.
Parameters
"Name" column
The parameter names are shown here.
"Data field" column
All available data fields are listed here.
Add parameters / Edit parameters
Opens a dialog where you can select the data fields that should provide the values for the request to the web application. Intrexx automatically adds the values, which are contained in the data field, in the browser when the link is clicked on.
Click "OK" to save the selection and close the dialog again.
Delete parameter
Removes the currently selected parameter from the list.
Column presentation
Click here for more information about this topic.
General - "Image URL" control type
With the "Image URL" control type, URLs to image files can be displayed as images in the view field. To do this, connect a data field in which image URLs are stored to the view element.
Title
Enter a title for the view field here. Click here for more information about this topic.
Edit alternative text
Opens a dialog where the text, that should be displayed as an alternative for the image on devices that cannot display images, can be entered.
Options - "Image URL" control type
Display link to image in full size
If the image is clicked on in the browser, a tooltip with the image in its full size will open.
Maximum size
Define the desired width and height of the image in pixels.
Adjust control size to maximum size
Means that when the size of the control is adjusted on the workspace, the current width and height will automatically be entered in the properties dialog. If this setting is not active, these values and the size of the control on the workspace will not be synchronized.
Column presentation in view tables
Click here for more information about this topic.
An overview of the functions of the view field with control type "Image URL" in comparison with the elements "Sortable list" and "File selection" can be found here.
Options - "Tree path" control type
The "Tree path" control type allows the path created by selecting folders in a tree element to be output as a breadcrumb trail. To do that, connect a view field to the data field that is also connected to the tree element. The IDs of each of the tree nodes (folders) are saved in this data field.
Alternatively, the "Path navigation for tree" application element can be used.
Options - "Integer" control type
Thousands separator
The 1000 separator can be displayed as a point or a comma. If you select the "Portal settings" option, the separator will be displayed based on the number format setting in the portal's regional settings for that language.
Column presentation in view tables
Click here for more information about this topic.
Options - "User information" control type
Link to user information
Displays the username in the browser as a link which is used to open additional information from the "User" module.
In the default settings, you will find the file "userinfo.vm" in the portal directory "internal/system/vm/html/user". With the Expert attribute vm-file an alternative, customized file can be used.
Show online status
Displays a symbol that informs others whether the user is currently online.
Options - "Floating point number" and "Currency" control types
Separator character
With the setting "Use portal setting", the separator is used according to the setting of the number format in the country settings of the portal for the respective language. If you want to set the 1000 separator and decimal separator differently from the portal settings, deactivate this setting so that the "1000 separator" and "Decimal separator" options are activated. Select the desired separator there.
Decimal place
With the setting "Use portal setting", the decimal point is used according to the setting of the number format in the country settings of the portal for the respective language. If you want to set the decimal place differently from the portal settings, deactivate the setting so that the settings "Leading zero" and "Decimal places" are activated.
Leading zero
Defines the format for the display of zeroes in front of the number (i.e. 0.7 or .7).
Decimal places
Enter an integer that defines how many decimal places should be displayed.
Column presentation in view tables
Click here for more information about this topic.
Options - "Date", "Time", "Date & Time" control types
Date format
The format for the displayed date is defined here. Here,
-
dd
-
is the two-digit display of the day
-
MM
-
is the two-digit display of the month
-
yyy
-
is the four-digit display of the year
Time format
The format for the displayed time is defined here. Here,
-
HH
-
is the two-digit display of the hours
-
mm
-
is the two-digit display of the minutes
-
ss
-
is the two-digit display of the seconds
If you select "Portal setting", the format from the country settings of the portal is used for the respective language.