The <listitems> portal tag allows displaying table records as a list view. 

The following attributes are applicable:

AttributeTypeMandatoryDescription
classStringNSpecify a CSS class name defined in the CSS field. See the CSS field value below the table to learn more.
tableNameStringYSpecify a table containing output elements to display. This attribute is mandatory.
listViewStringY

Specify a list view to use. This view need to be created first in the List Views (sys_ui_list) dictionary. 

itemPageStringY

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

itemViewStringYSpecify the view used for item rendering.
conditionStringN

Specify a condition applied to the list. This attribute should contain data of the Conditions type.

fixedConditionStringN

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).

choiceConditionNameStringN

Define columns containing data of the Choice type if you need to specify choice options in your condition. 

Columns specified in the attribute should be added to the view defined in the <listView> attribute. Otherwise, filtering by columns will not be available. 

dateConditionNameStringN

Define columns containing data of the Date or Date/Time type if you need to specify date ranges in your condition. 

perPageIntegerNSpecify the number of page items. The default value is "20".
displayColumnNumberIntegerYSpecify a column number to open a record by clicking on it.


listitems
<listitems class="custom__list" tableName="task" listView="SP" itemPage="record" itemView="SP" condition="stateIN0@-2" fixedCondition="(callerDYNAMIC156957117519820256^sys_db_table_idIN156950677111866258@156950616617772294)" choiceConditionName="state" dateConditionName="sys_created_at" perPage="10" displayColumnNumber="1" view="adjustable">
</listitems>
CSS
.custom__list td {
  padding: 50px 0 50px 30px;
}


  • No labels

1 Comment

  1. view="adjusta
    Наверно имелось ввиду 
    itemView="adjustable"