Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The <listitems> portal tag allows displaying table records as a list view.
The following attributes are applicable:
Attribute | Type | Mandatory | Description |
---|---|---|---|
class | String | N | Specify a CSS class name defined in the CSS field. See the CSS field value below the table to learn more. |
tableName | String | Y | Specify a table containing output elements to display. This attribute is mandatory. |
listView | String | Y | Specify a list view to use. This view need to be created first in the UI list List Views (sys_ui_list) dictionary. |
itemPage | String | Y | Specify the path to a page in the portal structure. Example: If you set itemPage="page" as shown in the code example below, then your URL may look like this: https://your_instance_url/your_portal/page |
itemView | String | Y | Specify the view used for item rendering. |
condition | String | N | Specify a condition applied to the list. This attribute should contain data of the Conditions type. |
fixedCondition | String | N | Specify a condition applied to the list. Unlike the condition specified with the condition attribute, this condition is fixed and cannot be removed; it can be only specified more precisely. The attribute work logic is similar to the Reference Qualifiers (fixed). |
choiceConditionName | String | N | |
dateConditionName | String | N | |
perPage | Integer | N | Specify the number of page items. The default value is "20". |
displayColumnNumber | Integer | Y | Specify a column number to open a record by clicking on it. |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<listitems class="custom__list" tableName="{data.tableName}task" listView="{data.listView}SP" itemPage="{data.itemPage}record" itemView="{data.itemView}SP" condition="{data.condition}stateIN0@-2" fixedCondition="{data.fixedCondition}(callerDYNAMIC156957117519820256^sys_db_table_idIN156950677111866258@156950616617772294)" choiceConditionName="{data.choiceConditionName}state" dateConditionName="{data.dateConditionName}sys_created_at" perPage="{data.perPage}10" displayColumnNumber="{data.displayColumnNumber}1" view="{data.view}adjustable"> </listitems> |
Code Block | ||||
---|---|---|---|---|
| ||||
.custom__list td {
padding: 50px 0 50px 30px;
} |