03-21-2018 09:12 AM
Hi,
I have a response from server:
{
name: "alfresco/lists/AlfSortablePaginatedList"
config: {
loadDataPublishTopic: "ALF_CRUD_GET_ALL",
loadDataPublishPayload: {
url: "...url_of_repo..."
},
itemsProperty: "relatedItems"
widgets: [
{
name: "alfresco/lists/views/AlfListView",
config: {
additionalCssClasses: "bordered",
widgets: [
{
name: "alfresco/lists/views/layouts/Row",
config: {
widgets: [
{
name: "alfresco/lists/views/layouts/Cell",
config: {
additionalCssClasses: "mediumpad",
style:"width:235px;",
widgets: [
{
name: "alfresco/layout/HorizontalWidgets",
config: {
widgets: [
{
name: "alfresco/renderers/Selector",
widthPx: "20",
},
{
name: "alfresco/layout/VerticalWidgets",
widthPx: "110",
config: {
widgets: [
{
name: "alfresco/renderers/Property",
config: {
propertyToRender: "name"
}
},
{
name: "alfresco/lists/AlfList",
config: {
itemsProperty: "links",
widgets: [
{
name: "alfresco/lists/views/HtmlListView",
config: {
propertyToRender: "href"
}
}
]
}
}
]
}
}
]
}
}
.....................................................
]
}
}
]
}
},
So i see a list of items from "relatedItems", but how to make a list of "links" for each item? As you can see I try to use another AlfList for that, but how to get items from second level array "links"?
Finally I want to have a table with elements - items from "relatedItems" array. And one column is lists of items from "links" array for each high level item.
04-26-2018 08:35 AM
Create your own widget and render there any data.
04-26-2018 08:35 AM
Create your own widget and render there any data.
Explore our Alfresco products with the links below. Use labels to filter content by product module.