AnsweredAssumed Answered

Aikau: need to customize AlfList operation failure notification.

Question asked by rohit.chakraborty on Apr 21, 2016
Latest reply on Sep 15, 2016 by ddraper
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,
            loadDataPublishTopic: "ALF_CRUD_GET_ALL",
            refreshCurrentItem: true,
            loadDataPublishPayload: {          
            url: "slingshot/doclib/treenode/site/" + siteId + "/documentLibrary/" +  folderArray,
            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.

Outcomes