Quantcast
Channel: Alfresco Forums - Alfresco Share
Viewing all articles
Browse latest Browse all 877

Aikau: need to customize AlfList operation failure notification.

$
0
0

Hi, I want to change the "alfresco/lists/AlfList" failure notification from "Operation Failed" to "Refresh the page" in the custom share page
or I don't need to show any notification.

How can I achieve this using aikau.
any suggestion.

this is my code:

name: "alfresco/lists/AlfList",
config: {
pubSubScope: folderArray[i],
loadDataPublishTopic: "ALF_CRUD_GET_ALL",
refreshCurrentItem: true,
loadDataPublishPayload: {
url: "slingshot/doclib/treenode/site/" + siteId + "/documentLibrary/" + folderArray[i],
refreshCurrentItem: true
},
itemsProperty: "items",
/*widgetsForDataFailureDisplay: [{
name: "alfresco/notifications/AlfNotification",
config: {
lable: "refresh"
}
}],*/
widgets:[{
name: "alfresco/lists/views/AlfListView",
config: {
widgets: [{
name: "alfresco/documentlibrary/views/layouts/Row",
config: {
widgets: [{
name: "alfresco/documentlibrary/views/layouts/Cell",
config: {
widgets: [{
name: "alfresco/renderers/PropertyLink",
config: {
propertyToRender: "name",
publishTopic: "SELECTED_DATA_LIST"
}
}]
}
}]
}
}]
}
}]
}
};

Thanks in advance.

5.1.x

Viewing all articles
Browse latest Browse all 877

Latest Images

Trending Articles



Latest Images