Skip to main content
Commonmark migration
Source Link

Here you can see the Renderings of my panel: [![Renderings][1]][1]Renderings

Here you can see my List binding: [![List binding][2]][2]List binding

Here you can see a couple of my Column Fields: [![Column fields][3]][3]Column fields

@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} [1]: https://i.sstatic.net/EP6A2.png [2]: https://i.sstatic.net/rS2sh.png [3]: https://i.sstatic.net/valIX.png

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} [1]: https://i.sstatic.net/EP6A2.png [2]: https://i.sstatic.net/rS2sh.png [3]: https://i.sstatic.net/valIX.png

Here you can see the Renderings of my panel: Renderings

Here you can see my List binding: List binding

Here you can see a couple of my Column Fields: Column fields

@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}

beautification
Source Link

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[![Renderings][1]][1]

Here you can see my List binding: List binding[![List binding][2]][2]

Here you can see a couple of my Column Fields: 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

I am setting up a custom tab with custom facet data in the Experience Profile. I am successfully returning text values to the screen.

Now, I want to populate data into a list control. Are there any examples of this.

In my AdditionalInfoPanel I have a GenericDataProvider and a ListControl. My list has three columns -- for Sent, ContactType, and Message.

My javascript file looks like this...

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

I am trying to figure out how to correctly bind the data in jsondata.Communications to the ListControl.

I am using Sitecore 8.1 Update 2

Here you can see the Renderings of my panel: Renderings

Here you can see my List binding: List binding

Here you can see a couple of my Column Fields: Column fields

@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}

I am setting up a custom tab with custom facet data in the Experience Profile. I am successfully returning text values to the screen.

Now, I want to populate data into a list control. Are there any examples of this.

In my AdditionalInfoPanel, I have a GenericDataProvider and a ListControl.

My list has three columns: for Sent, ContactType, and Message.

My javascript file looks like this:

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

I am trying to figure out how to correctly bind the data in jsondata.Communications to the ListControl.

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} [1]: https://i.sstatic.net/EP6A2.png [2]: https://i.sstatic.net/rS2sh.png [3]: https://i.sstatic.net/valIX.png

Clarify question for future viewers
Link
eat-sleep-code
  • 1.7k
  • 11
  • 25

JavaScript example Example of populating list in experience profile page with JSON data

Notice removed Improve details by eat-sleep-code
Bounty Ended with gorhal's answer chosen by eat-sleep-code
Added closing update
Source Link
eat-sleep-code
  • 1.7k
  • 11
  • 25
Loading
added 2762 characters in body
Source Link
eat-sleep-code
  • 1.7k
  • 11
  • 25
Loading
Notice added Improve details by eat-sleep-code
Bounty Started worth 100 reputation by eat-sleep-code
Simplified question and give output showing sample data
Source Link
eat-sleep-code
  • 1.7k
  • 11
  • 25
Loading
added 90 characters in body
Source Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117
Loading
Source Link
eat-sleep-code
  • 1.7k
  • 11
  • 25
Loading