You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Generally, a list of records contains elements as listed below:

  1. The <breadcrumbs> widget that allows navigating within the Portal pages structure.
  2. The <listItems> widget displaying the items list in line with the parameters specified.

The page located on the dedicated portal node.

Breadcrumbs configuration


To configure breadcrumbs correctly, it is preferable to use the attribute values as an example below (type this values in the Template field of the <breadcrumb> widget form):

breadcrubmbs
<div id="breadcrumbs">
    <breadcrumbs>
</div>

After that, you can define the breadcrumbs view in the CSS field of this form:

Breadcrumbs CSS
#breadcrumbs {
margin: 20px;
border: 1px;
}

List widget configuration


To configure a list widget, it is preferable to follow the recommendations when filling in the attribute values. You can use the example below as a pattern:

listItems widget
<listitems class="linkStyles" tableName="itsm_request" condition="" listView="Widget" itemPage="page" itemView="view" choiceConditionName="state" dateConditionName="sys_updated_at" perPage="10" displayColumnNumber="2"></listitems>

On this list, service requests will be displayed of 10 records per page, sorted by the update date and time in the ascending order.


Аналог контроллера list в контексте портала
1. Виджет хлебных крошек
2. Виджет лист Б, смотрит на таблицу переданную в параметрах
3. Соответствует макету https://www.figma.com/file/QfXVXt6C4stlJsPHan8Uw0/%F0%9F%94%B2-Service-Portal?node-id=186%3A3
4. Страница имеет свою ноду.

  • No labels