HTML Items

The HTML items are CMS elements delivered with open bi. They can be accessed via special tags in the HTML code and used in all pages that are played out by open bi.

This documentation explains the purpose of each HTML item and the parameters available.

But part of the philosophy of open bi is the possibility to create your own HTML items. To do this, visit the "Tutorials" category of the open bi Blog.

General Remarks

The open bi CMS uses HTML Items, which can alter and enhance the HTML output and provide access to open bi features. It is also possible to call actions on the items with HTTP POST requests.

Attributes

Custom HTML tags are used to reference a HTML Item. They work the same way as regular HTML tags and can be configured via attributes. By default, all HTML Item attributes are prefixed with "data-":

<customelement data-requires-auth="true">some text</customelement>

The following list shows all default attributes, which can be set on all open bi HTML Items.

Attribute
Documentation
Attribute
data-requires-auth
Documentation
If "true" the element and its contents is only rendered if the user is currently logged in. Default: ""
Attribute
data-onlyforgroup
Documentation
If a usergroup id is specified, the element and its contents is only rendered if the user is logged in and is in the specified usergroup. It is also possible to specify multiple usergroup ids which are separated by semicolon ";", which means that the user must be in one of the usergroups. Default: ""
Attribute
data-onlyforip
Documentation
If one or more IPs are specified separated by semicolon ";" the element and its contents is only rendered if the client IP is in the list of the specified IPs. Default: ""

Actions

POST requests can be used to communicate with the HTML Items on the current page. They allow for definition of actions for the HTML Item and also for dynamical creation of the HTML Item.

The POST request must contain an "application/x-www-form- urlencoded" or "multipart/form-data" encoded body. The body must contain a "cms_item" field with the value of either the ID of an existing HTML Item on the current page or the tag name of an HTML Item which then will be created dynamically. The HTML Item specific "data-" attributes can also be added as fields to the body which then will be set onto the HTML Item.

Often HTML Items require a specific "action" which can also be added as a field to the body. So one HTML Item can do different things based on the provided action.

Template Placeholders

The rendering of HTML Items can be freely configured by the use of HTML Item Templates. HTML Item Templates are HTML snippets that can be made dynamic by using Placeholders. Placeholders are defined with a leading and trailing "%":

<a href="%LINK%">%NAME%<a/>

The list of Placeholders, which are available for an HTML Item, depends on the type of HTML Item Template being used. For the <login> HTML Item, for example, %USERNAME% only makes sense if the user has logged in successfully - so it is only available in the "data-tpl-auth" HTML Item Template.

<content>

The <content> HTML item will display the HTML snippet maintained in the Role Content Element of the CMS Role. The Role Content Element is determined automatically from the URL path and user language.

Attributes

Attribute
Documentation
Attribute
data-tpl-page-not-found
Documentation
A HTML template which is returned if no Role Content Element is found. (Like a custom 404 page.)
Attribute
data-tpl-admin-content
Documentation
A HTML template which is used if the page is requested by an admin user. The template can e.g. provide editing features

Template Placeholders

Placeholder
Documentation
Placeholder
%ID%
[data-tpl-admin-content]
Documentation
Role Content Element ID
Placeholder
%TITLE%
[data-tpl-admin-content]
Documentation
Either the name of the Role Content Element or its Page title, if maintained
Placeholder
%KEYWORDS%
[data-tpl-admin-content]
Documentation
Meta keywords
Placeholder
%CONTENT%
[data-tpl-admin-content]
Documentation
HTML Snippet of the current Role Content Element
Placeholder
%ITEMS%
[data-tpl-admin-content]
Documentation
Loaded htmlitem tag names seperated by space
Placeholder
%CSS_FILES%
[data-tpl-admin-content]
Documentation
Json array of all static available css files

<login>

The <login> HTML item will display different templates depending if a user is logged in or not. It also provides actions for user login and logout.

Attributes

Attribute
Documentation
Attribute
data-tpl-login
Documentation
A HTML template which is returned if the user is currently not logged in
Attribute
data-tpl-auth
Documentation
A HTML template which is returned if the user is currently logged in
Attribute
data-redirectonlogin
Documentation
A URL to redirect to after the user logged in with the "openbilogin" action
Attribute
data-redirectonlogout
Documentation
A URL to redirect to after the user is logged out with the "logout" action
Attribute
data-redirectonpwdchangerequired
Documentation
Determines whether the user is automatically redirected after login when a password change is required
Attribute
data-use-sso
Documentation
Set to true if sso should be used. Requires Server Setting: USE_LDAP_PWD_CHECK = "X"
Attribute
data-msg-failure
Documentation
Overwrite the login failure message
Attribute
data-strict-orgacheck
Documentation
Determines whether a the Host Header is checked strictly for the Organisation. Applicable if multiple organizations are customized with individual host headers defined in the organization entity. If not set, all users will be allowed to login to all pages of all Organizations!

Actions

Action
Documentation
Action
openbilogin
Documentation
Uses the "username" and "password" form fields to try to login the user and redirects to "data-redirectonlogin" if provided
Action
logout
Documentation
Logout the current user and redirects to "data- redirectonlogout" if provided

Template Placeholders

Placeholder
Documentation
Placeholder
%ERROR%
[data-tpl-login]
Documentation
The failure message

<openbi:translate>

The <openbi:translate> item returns the language text value for a language text.

Attributes

Attribute
Documentation
Attribute
data-languagetext-id
Documentation
The id of the language text which should be returned
Attribute
data-template
Documentation
An optional HTML template which is used instead of returning the language text. Placeholders:
%ID%: ID of the language text
%VALUE%: the language text value

Template Placeholders

Placeholder
Documentation
Placeholder
%ID%
[data-tpl-login]
Documentation
The ID of the language text
Placeholder
%VALUE%
[data-tpl-login]
Documentation
The value of the language text

<openbi:changelanguage>

The <openbi:changelanguage> item only provides a POST request action which changes the language of the current session.

Attributes

Attribute
Documentation
Attribute
data-language
Documentation
The language, which the session shall be set to. If empty, it is ignored

Actions

Action
Documentation
Action
changelanguage
Documentation
Uses the "language" form field to change the language of the current session. Must be a valid value for "CultureInfo.GetCultureInfo()"

<openbi:dbitem>

The <openbi:dbitem> reads the first row of a database table and replaces all values in a template. It supports static filters, filters from URL parameters and can change the page title with the values of the row.

Static filters can be set in the "data-filter" attribute and are merged with filters from URL parameters. By default, if a URL parameter name matches the name of a column of the table it will be used as a filter. E.g. "?COLUMN1=VALUE1" will automatically filter the result where "COLUMN1 = ‘VALUE1’". This behavior can be customized with the "data-url-filter-whitelist" attribute.

Attributes

Attribute
Documentation
Attribute
data-table
Documentation
The name of a table in the database
Attribute
data-id-column
Documentation
The name of the column used for ID filtering
Attribute
data-id-parameter
Documentation
The name of the URL parameter for ID filtering
Attribute
data-id-separator
Documentation
The separator used to separate the ID from the rest of the URL for ID filtering
Attribute
data-title-template
Documentation
The text template for the page title which can contain placeholders
Attribute
data-columns
Documentation
Semicolon separated list of columns which are read from the table. Default: all columns are used
Attribute
data-filter
Documentation
Semicolon separated list of static filter values, which are used to filter the table. Example: COLUMN1=VALUE1;COLUMN2=VALUE2
Attribute
data-order-by
Documentation
Comma separated list of columns to order the result. Example: COLUMN1 ASC, COLUMN2 DESC
Attribute
data-url-filter-whitelist
Documentation
Semicolon separated list of column names which should automatically be filtered with URL parameters. Leave empty to disable automatic URL parameter filters
Attribute
data-url-filter-whitelist
Documentation
Semicolon separated list of column names which should not automatically be filtered with URL parameters. Leave empty to disable automatic URL parameter filters
Attribute
data-placeholder-prefix
Documentation
The prefix used for replacing placeholders. Default: ""
Attribute
data-tpl-detail
Documentation
The template used if a row was found
Attribute
data-tpl-empty
Documentation
The template used if no row was found
Attribute
data-read-multiple-tableattributes
Documentation
If set to "X" then also the "multiple" (1-N) table attributes will be read and replaced as JSON arrays. Default: "X"
Example: %PlaceholderPrefixColumnName_JSON%

Template Placeholders

All column names of the referenced table can be used as placeholders.

Placeholder format (the column name is always uppercase): %data-placeholder-prefix+COLUMN_NAME%

Example of placeholder if prefix is empty: "%COLUMN1%", "%COLUMN2%"

Example of placeholder if prefix is "Test": "%TestCOLUMN1%", "%TestCOLUMN2%"

<openbi:dblist>

The <openbi:dblist> reads rows from a database table and replaces all values in a template. It supports static filters, filters from URL parameters and pagination.

Static filters can be set in the "data-filter" attribute and are merged with filters from URL parameters. By default, if a URL parameter name matches the name of a column of the table it will be used as a filter. E.g. "?COLUMN1=VALUE1" will automatically filter the result where "COLUMN1 = ‘VALUE1’". This behavior can be customized with the "data-url-filter-whitelist" attribute.

Attributes

Attribute
Documentation
Attribute
data-table
Documentation
The name of a table in the database
Attribute
data-id-column
Documentation
The name of a column used for pagination count
Attribute
data-columns
Documentation
Semicolon separated list of columns which are read from the table. Default: all columns are used
Attribute
data-filter
Documentation
Semicolon separated list of static filter values, which are used to filter the table. Example: COLUMN1=VALUE1;COLUMN2=VALUE2
Attribute
data-group-by
Documentation
Comma separated list of columns names to group by. Example: COLUMN1, COLUMN2
Attribute
data-order-by
Documentation
Comma separated list of columns to order the result. Example: COLUMN1 ASC, COLUMN2 DESC
Attribute
data-placeholder-prefix
Documentation
The prefix used for replacing placeholders. Default: ""
Attribute
data-sort-parameter
Documentation
The name of the URL parameter that is used for sorting.
Example: "sort" will allow for adding the following to the URL: ?sort=COLUMN1
If a URL parameter value is present, then "data-order-by" will be ignored!
Attribute
data-sort-direction-parameter
Documentation
The name of the URL parameter that is used for providing the sorting direction value: "ASC" or "DESC").
Example: "sortdir" will allow for adding the following to the URL: ?sort=COLUMN1?sortdir=DESC
Attribute
data-search-parameter
Documentation
The name of the URL parameter that is used for searching. The URL parameter value is splitted by a space (" ") and each part is searched with CONTAINS in every column combined with OR logic. Default: ""
Attribute
data-exactsearch-parameter
Documentation
The name of the URL parameter that is used for searching. The URL parameter value is searched with CONTAINS in every column combined with OR logic. Default: ""
Attribute
data-items-per-page
Documentation
Number of rows per page. Can be left empty to return all rows. Default: "10"
Attribute
data-items-per-page-parameter
Documentation
The name of the URL parameter to pass the number of rows per page.
Attribute
data-page-parameter
Documentation
The name of the URL parameter which is used for pagination. Default: "page"
Attribute
data-disable-pagination
Documentation
If the value is set to "X" the automatic pagination item is not rendered
Attribute
data-disable-pagination-bottom
Documentation
If the value is set to "X" the bottom pagination is not rendered
Attribute
data-disable-pagination-top
Documentation
If the value is set to "X" the top pagination is not rendered
Attribute
data-placeholder-prefix
Documentation
The prefix used for replacing placeholders. Default: ""
Attribute
data-tpl-item
Documentation
The template used for each row.
Attribute
data-tpl-container
Documentation
The template used to wrap all "data-tpl-item" templates. It should contain a fixed table header (e.g. via <thead>) the text "%ITEMS%"
Attribute
data-tpl-empty
Documentation
The template used if no row was found.
Attribute
data-url-filter-whitelist
Documentation
Semicolon separated list of column names which should automatically be filtered with URL parameters. Leave empty to disable automatic URL parameter filters
Attribute
data-url-filter-whitelist
Documentation
Semicolon separated list of column names which should not automatically be filtered with URL parameters. Leave empty to disable automatic URL parameter filters
Attribute
data-read-multiple-tableattributes
Documentation
If set to "X" then also the "multiple" (1-N) table attributes will be read and replaced as JSON arrays. Default: "X"
Example:
%PlaceholderPrefixColumnName_JSON%
Attribute
data-childproducts
Documentation
If the value is set to "X" then also the table attributes which reference other entities are replaced. Default: ""
Example:
%PlaceholderPrefixColumnName.ChildColumnName%"
Attribute
data-sub-page-path-filter
Documentation
Prerequisite: With Subpages must be active for the Role Content Element this HTML Item is contained in.
This way open bi automatically creates virtual subpages for this page that represent the page with a specific filter. In consequence, the URL path replaces the usage of passing the filter as a URL parameter, which will be optimized for search engines.
Example: Let's assume the name of the page is "list". Setting "CATEGORY;STATUS" for this parameter will make accessible e.g. the subpage: /list/mycategory/mystatus ... which corresponds to: /list?CATEGORY=mycategory&STATUS=mystatus

Actions

Action
Documentation
Action
(default AJAX action)
Documentation
Returns the rows of the table as JSON. The default placeholder naming convention applies also here but without "%". Example: [{ "COLUMN1": "VALUE1" }, { "COLUMN1": "VALUE2" }]

Template Placeholders

In the "data-tpl-item" template, all column names of the referenced table can be used as placeholders.

Example of placeholder if prefix is empty: "%COLUMN%", "%COLUMN2%

Example of placeholder if prefix is "Test": "%TestCOLUMN1%", "%TestCOLUMN2%"

In the "data-tpl-container" template, the following placeholders can be used:

Placeholder
Documentation
Placeholder
%ITEMS%
[data-tpl-container]
Documentation
Placeholder for all rows rendered based on "data-tpl-item"
Placeholder
%TOTAL_COUNT%
[data-tpl-container]
Documentation
Placeholder for the total item count
Placeholder
%PAGE%
[data-tpl-container]
Documentation
Placeholder for the current page index
Placeholder
%PAGECOUNT%
[data-tpl-container]
Documentation
Placeholder for the total

<openbi:redirect>

The <openbi:redirect> item redirects the browser to another host, port, path or query based on the current URL, which means by specifying only a different host only the host part of the current URL is changed and redirected to, keeping all the other parts intact. It also supports redirects to the HTTPS protocol and to "www" subdomains. Optionally a status code (other than the default 302) can be provided. When the created redirect URL is the same as the original URL no redirect will be done.

Attributes

Attribute
Documentation
Attribute
data-redirect-host
Documentation
The new host to redirect to. Defaults to the current host.
Attribute
data-redirect-port
Documentation
The new port to redirect to. Defaults to the current port.
Attribute
data-redirect-path
Documentation
The new path to redirect to. Defaults to the current path.
Attribute
data-redirect-query
Documentation
The new query to redirect to. Defaults to the current query.
Attribute
data-redirect-statuscode
Documentation
The redirect status code. Defaults to "302"
Attribute
data-redirect-www
Documentation
Prefixes the host with "www." if the prefix isn’t already there.
Attribute
data-redirect-https
Documentation
Redirects to the HTTPS protocol on port 443 if no data- redirect-port is specified.

<openbi:httpheader>

The <openbi:httpheader> item adds HTTP response headers base on the "data-name" and "data-value".

Example: <openbi:httpheader data-name="My-Custom-Response-Header" data-value="My Custom Value"></openbi:httpheader>

Attributes

Attribute
Documentation
Attribute
data-name
Documentation
The name of the HTTP response header
Attribute
data-value
Documentation
The value of the HTTP response header.

<footerbar>

The <footerbar> item adds a second navigation to the website. It can be used e.g. to render links to contact, sitemap and imprint at the footer of the page. To create the menu, the subtree of the CMS Role element with the second lowest position is used.

Example: <footerbar></footerbar>

Attributes

Attribute
Documentation
Attribute
data-tpl-footer
Documentation
A HTML template which is used to render the item. Should contain %FOOTER% to render the links for the Role Content Elements.

<sitemap>

The <sitemap> item adds all subpages of the a navigation menu to the website. To create the menu, the subtree of the CMS Role with the lowest position is used.

Example: <sitemap></sitemap>

Attributes

Attribute
Documentation
Attribute
data-tpl-sitemap
Documentation
A HTML template which is used to render the item. Should contain %SITEMAP% to render the links for the Role Content Elements.

<openbi:dropbox>

The <openbi:dropbox> item renders a UI to upload, organize and download documents to an open bi Document Role.

Example: <openbi:dropbox data-id-role="bd546b43-bb3a-4e87-a803-24b677cee9d6" data-requires-auth="true"></openbi:dropbox>

Attributes

Attribute
Documentation
Attribute
data-tpl-role
Documentation
The ID of the document role to use
Attribute
data-tpl-folder
Documentation
You can optionally restrict the display to a folder of the role by specifying the ID of the role element.
Attribute
data-tpl-dropbox
Documentation
A HTML template which is used to render the item
Attribute
data-tpl-dropboxitem
Documentation
A HTML template which is used to render a single item in the document list
Attribute
data-tpl-dropboxtree
Documentation
A HTML template which is used to render the document tree

Actions

Action
Documentation
Action
deletecontentelement
Documentation
Delete a Role Content Element
Action
renamecontentelement
Documentation
Rename a Role Content Element
Action
uploadcontentelement
Documentation
Upload a new Role Content Element
Action
replacecontentelement
Documentation
Replace an existing Role Content Element
Action
createfolder
Documentation
Create a folder in the Document Role

Template Placeholders

Placeholder
Documentation
Placeholder
%DATA%
[data-tpl-dropbox]
Documentation
The HTML generated for the dropbox list via data-tpl-dropboxitem
Placeholder
%TREE%
[data-tpl-dropbox]
Documentation
The HTML generated for the dropbox tree via data-tpl-dropboxtree
Placeholder
%ROLE_ID%
[data-tpl-dropbox]
Documentation
The ID of the Document Role
Placeholder
%ROLE_NAME%
[data-tpl-dropbox]
Documentation
The Name of the Document Role
Placeholder
%CLASS%
[data-tpl-dropboxtree]
Documentation
The class of the Role Content Element
Placeholder
%FILE%
[data-tpl-dropboxtree]
Documentation
The file name of the Role Content Element
Placeholder
%CHILDREN%
[data-tpl-dropboxtree]
Documentation
The HTML generated for the children of the Role Content Element via data-tpl-dropboxtree
Placeholder
%LINK%
[data-tpl-dropboxtree, data-tpl-dropboxitem]
Documentation
The link to the Role Content Element
Placeholder
%SIZE%
[data-tpl-dropboxitem]
Documentation
The size of the Role Content Element
Placeholder
%FILE_TYPE%
[data-tpl-dropboxitem]
Documentation
The file extension of the Role Content Element
Placeholder
%TYPE%
[data-tpl-dropboxitem]
Documentation
The type of the Role Content Element (file or folder)
Placeholder
%NAME%
[data-tpl-dropboxitem]
Documentation
Role Content Element name
Placeholder
%ITEM_NAME%
[data-tpl-dropboxitem]
Documentation
Role Content Element ID
Placeholder
%USER%
[data-tpl-dropboxitem]
Documentation
The user who created the Role Content Element
Placeholder
%CHANGE_DATE%
[data-tpl-dropboxitem]
Documentation
The change date of the Role Content Element
Placeholder
%CREATE_DATE%
[data-tpl-dropboxitem]
Documentation
The creation date of the Role Content Element

<openbi:usermaintenance>

The <openbi:usermaintenance> item allows the maintenance and creation of open bi users.

Example: <openbi:usermaintenance></openbi:usermaintenance>

Attributes

Attribute
Documentation
Attribute
data-tpl-userMaintenance
Documentation
A HTML template which is used to render the item.
Attribute
data-activationlink
Documentation
The link that shall be contained in the activation mail. Should point to a page in the CMS that contains the <openbi:passwordinitial> item.
Attribute
data-email-sender
Documentation
The mail address the invitation mail shall be sent from
Attribute
data-email-subject
Documentation
The subject of the invitaion mail
Attribute
data-tpl-email
Documentation
A HTML template which is used to render the invitation mail

Actions

Action
Documentation
Action
getusers
Documentation
Get all users as JSON
Action
inviteemail
Documentation
Send the invitation mail

Template Placeholders

Placeholder
Documentation
Placeholder
%FIRSTNAME%
[data-tpl-mail]
Documentation
The user's first name
Placeholder
%LASTNAME%
[data-tpl-mail]
Documentation
The user's last name
Placeholder
%MAIL%
[data-tpl-mail]
Documentation
The user's mail address
Placeholder
%ACTIVATIONLINK%
[data-tpl-mail]
Documentation
The content of "data-activationlink"
Placeholder
%MESSAGE%
[data-tpl-mail]
Documentation
The "mesage" to the user, which can be posted as a form field with action "inviteemail"

<openbi:registration>

The <openbi:registration> item allows a visitor of the CMS page to register. This will create a new open bi user.

Example: <openbi:registration></openbi:registration>

Attributes

Attribute
Documentation
Attribute
data-template
Documentation
A HTML template which is used to render the item.
Attribute
data-tpl-email-user
Documentation
A HTML template which is used for the mail to the user.
Attribute
data-tpl-email-admin
Documentation
A HTML template which is used for the mail to the user administrator.
Attribute
data-tpl-adminemailadress
Documentation
The mail address of the user administrator
Attribute
data-email-from
Documentation
The mail sender address
Attribute
data-email-replyto
Documentation
The reply-to address
Attribute
data-email-bcc
Documentation
The blind-copy address
Attribute
data-guid-orgatoassign
Documentation
The organization to assign automatically
Attribute
data--user-usergroups
Documentation
The user groups to assign automatically
Attribute
data-recaptcha-secret
Documentation
The Recaptcha v2 Secret
Attribute
data-redirect-url
Documentation
The redirect URL after successful registration

Actions

Action
Documentation
Action
register
Documentation
Start a registration

Template Placeholders

Placeholder
Documentation
Placeholder
%ERRORS%
[data-template]
Documentation
Error Message if registration failed.
Placeholder
%EMAIL%
[data-tpl-email-admin]
Documentation
The user's mail address
Placeholder
%ACTIVATIONID%
[data-tpl-email-user]
Documentation
The activation ID for the user

<openbi:logininitial>

The <openbi:logininitial> item allows a user to set an iniital password and to activate the account. Needs an activationid to be passed as a URL parameter.

Example: <openbi:logininitial></openbi:logininitial>

Attributes

Attribute
Documentation
Attribute
data-redirectonlogin
Documentation
The page that shall be displayed after successful login
Attribute
data-tpl-path
Documentation
A HTML template that is used to render the item
Attribute
data-tpl-wrongactivationid
Documentation
A HTML template which is used if the activation ID, which has been passed with the URL parameter, cannot be found.
Attribute
data-msg-failure
Documentation
The message that shall be displayed if the password validation fails
Attribute
data-password-min-length
Documentation
The minimum length for the password
Attribute
data-password-regex
Documentation
A Regex for the password validation

Template Placeholders

Placeholder
Documentation
Placeholder
%ERRORS%
[data-template]
Documentation
Error Message if registration failed.
Placeholder
%EMAIL%
[data-tpl-email-admin]
Documentation
The user's mail address
Placeholder
%ACTIVATIONID%
[data-tpl-email-user]
Documentation
The activation ID for the user

<openbi:forgotpassword>

The <openbi:forgotpassword> item allows a visitor of the CMS page to start the "forgot password" process by providing the mail address.

Example: <openbi:forgotpassword></openbi:forgotpassword>

Attributes

Attribute
Documentation
Attribute
data-tpl-forgotpwd
Documentation
A HTML template which is used to render the item.
Attribute
data-email-forgotpwd
Documentation
A HTML template which is used for the mail to the user.
Attribute
data-from
Documentation
The mail sender address
Attribute
data-replyto
Documentation
The reply-to address
Attribute
data-mode
Documentation
How the password should be reset: Using an activation link ("ACTIVATIONID") or generated password ("PASSWORD"). "PASSWORD" is the default.

Actions

Action
Documentation
Action
(default AJAX action)
Documentation
Initiate sending of the forgot password mail. Requires a valid mail address to be provided.

Template Placeholders

Placeholder
Documentation
Placeholder
%ERRORS%
[data-template]
Documentation
Error Message if registration failed.
Placeholder
%EMAIL%
[data-tpl-email-admin]
Documentation
The user's mail address
Placeholder
%ACTIVATIONID%
[data-tpl-email-user]
Documentation
The activation ID for the user

<openbi:changepassword>

The <openbi:changepassword> item allows a user to change the password.

Example: <openbi:changepassword></openbi:changepassword>

Attributes

Attribute
Documentation
Attribute
data-tpl-changepwd
Documentation
A HTML template which is used to render the item.
Attribute
data-redirect-url
Documentation
The page that shall be called after successful password change.
Attribute
data-force-old-password-check
Documentation
X to force a check of the "oldpassword" field
Attribute
data-msg-failure
Documentation
The message that shall be displayed if the password validation fails
Attribute
data-password-min-length
Documentation
The minimum length for the password
Attribute
data-password-regex
Documentation
A Regex for the password validation

Actions

Action
Documentation
Action
changepassword
Documentation
Change the password. The fields "password", "confirmpassword" and "oldpassword" must be passed.

Template Placeholders

Placeholder
Documentation
Placeholder
%ERRORS%
[data-template]
Documentation
Error Message if registration failed.
Placeholder
%EMAIL%
[data-tpl-email-admin]
Documentation
The user's mail address
Placeholder
%ACTIVATIONID%
[data-tpl-email-user]
Documentation
The activation ID for the user

<openbi:contactinformation>

The <openbi:contactinformation> item allows a user to change the password.

Example: <openbi:contactinformation></openbi:contactinformation>

Attributes

Attribute
Documentation
Attribute
data-tpl-login
Documentation
A HTML template which is used if the user is not logged in.
Attribute
data-tpl-contactinformation
Documentation
A HTML template which is used to show the user profile.
Attribute
data-redirectondatechange
Documentation
The page that shall be displayed after data has been changed.

Actions

Action
Documentation
Action
deleteprofile
Documentation
Delete the user
Action
changeuserdataform
Documentation
Change the user data
Action
changeorgaform
Documentation
Change the organizational data

Template Placeholders

Placeholder
Documentation
Placeholder
%ERRORS%
[data-tpl-login]
Documentation
Error Message if something failed.
Placeholder
%SALUTATION%
[data-tpl-contactinformation]
Documentation
The user's salutation
Placeholder
%USERNAME%
[data-tpl-contactinformation]
Documentation
The username
Placeholder
%FIRSTNAME%
[data-tpl-contactinformation]
Documentation
The user's first name
Placeholder
%LASTNAME%
[data-tpl-contactinformation]
Documentation
The user's last name
Placeholder
%MAIL%
[data-tpl-contactinformation]
Documentation
The user's mail address
Placeholder
%COMPANYNAME%
[data-tpl-contactinformation]
Documentation
The user's company
Placeholder
%STREET%
[data-tpl-contactinformation]
Documentation
The user's street
Placeholder
%ZIP%
[data-tpl-contactinformation]
Documentation
The user's ZIP code
Placeholder
%CITY%
[data-tpl-contactinformation]
Documentation
The user's city
Placeholder
%COUNTRY%
[data-tpl-contactinformation]
Documentation
The user's country
Placeholder
%PHONE%
[data-tpl-contactinformation]
Documentation
The user's phone number
Placeholder
%MOBILE%
[data-tpl-contactinformation]
Documentation
The user's mobile number
Placeholder
%FUNCTION%
[data-tpl-contactinformation]
Documentation
The user's function
Placeholder
%GROUP%
[data-tpl-contactinformation]
Documentation
The user's group (not user group!)