I am setting up a custom tab with custom facetcustom facet
data in the Experience ProfileExperience Profile
. I am successfully returning text values to the screen.
Now, I want to populate data into a list control. AreAre there any examples of this.
In my AdditionalInfoPanelAdditionalInfoPanel
, I have a GenericDataProviderGenericDataProvider
and a ListControl. My list has three columns -- for Sent, ContactType, and MessageListControl
.
My javascript file looks like this..My list has three columns: for Sent, ContactType, and Message.
My javascript file looks like this:
NOTE 1:NOTE 1: The output of this console.log is:
[{"Sent":"2016-10-18T17:25:36.831Z","ContactType":"Product Information","Message":"Looking to get information about software","IsEmpty":false}]
NOTE 2: The resulting error is:
caught TypeError: Cannot read property 'set' of undefined / DataProviderHelper.js:74
[{"Sent":"2016-10-18T17:25:36.831Z","ContactType":"Product Information","Message":"Looking to get information about software","IsEmpty":false}]
I am trying to figure out how to correctly bind the data in jsondata.Communications to the ListControl.NOTE 2: The resulting error is:
caught TypeError: Cannot read property 'set' of undefined / DataProviderHelper.js:74
I am using Sitecore 8trying to figure out how to correctly bind the data in jsondata.Communications
to the ListControl.1 Update 2
I am using Sitecore 8.1 Update 2
Here you can see the Renderings of my panel:
[![Renderings][1]][1]
Here you can see my List binding:
[![List binding][2]][2]
Here you can see a couple of my Column Fields:
[![Column fields][3]][3]
@gorhal had the solution. One further step was to ensure the "Items" property of the ListControl was bound to the datasource items: {Binding AdditionalInfoCommunicationDataSource.Items}{Binding AdditionalInfoCommunicationDataSource.Items}
[1]: https://i.sstatic.net/EP6A2.png
[2]: https://i.sstatic.net/rS2sh.png
[3]: https://i.sstatic.net/valIX.png