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.
Solved! Go to Solution.
Create your own widget and render there any data.
Create your own widget and render there any data.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.