UI Extensions Import

UI extensions can be imported into 4me using UTF-8 or UTF-16LE encoded comma-separated values (CSV) or tab-separated values (TSV) files.

Detailed information about the data that can be specified in the columns of a UI extension import file can be found in the Fields section.

CSV example

ID,Disabled,Name,Title,Category,Active version HTML,Active version CSS,Active version Javascript
,0,New Employee,Employee Details,request_template,"<p>...</p>","p { color: blue; }","var i = 1;"
15,0,Start and End Date Time,Duration of Extension,request_template,"<div class=""row horizontal"">
  <label for=""start"">Start</label>
  <input id=""start"" type=""text"" autocomplete=""off"" max=""end"" class=""required date-time"">
</div>",,

download CSV

Active and Prepared Version

It is possible to specify HTML/CSS/Javascript values for the Active version and for the Prepared version in the import file.

When the import file is processed, these values are treated as follows:

Fields

ID
Optional integer — The unique ID of the UI extension.
disabled
Optional boolean, default: false — The Disabled box is checked when the UI extension is inactive.
name
Required string (max 190) — The Name field is used to enter the name of the UI extension.
title
Optional string — The Title field is used to enter the text that is to be displayed as the section header above the UI extension when the UI extension is presented within a form.
category
Required enum — The Category field is used to specify the type of record in which the UI extension can be selected. Valid values are listed in UI Extensions API - Fields.
active version HTML
Optional text (max 64KB) — The HTML code of the Active version
active version CSS
Optional text (max 64KB) — The CSS stylesheet of the Active version
active version Javascript
Optional text (max 64KB) — The Javascript code of the Active version
prepared version HTML
Optional text (max 64KB) — The HTML code of the Prepared version
prepared version CSS
Optional text (max 64KB) — The CSS stylesheet of the Prepared version
prepared version Javascript
Optional text (max 64KB) — The Javascript code of the Prepared version