0

I am using alfresco 5.0.d version needs to populate the custom model properties in YUI datatable and in response I am getting the JSON as below.

{
    "agency" : [
    {
        "agencyname": "1212",
        "agencycode": "1212",
        "createDate": "23/03/2016"
    }]
}

custom-users-min.js file: Generating the request and populating the resultlist.

config : {
    responseType : YAHOO.util.DataSource.TYPE_JSON,
    responseSchema : {
        resultList:"agency"
    }
    }
}

customagency.get.json.ftl file:

<#import "customagency.lib.ftl" as customagencyLib/>
<@customagencyLib.agencyJSON agency=agency/>

I am getting the message as Error loading items inside the alfresco YUI datatable. Please help me to resolve this.

Naman
  • 2,205
  • 2
  • 19
  • 32
vicky
  • 19
  • 5

1 Answers1

0

After applying the parseJson before populating the data in YUI datatable.Resolved

vicky
  • 19
  • 5