You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for this component, it is fantastic!
I have created a connection to a Sharepoint List. I am able to associate the PCF to the Sharepoint List and display items and group them by Status. Drag and Drop works like a charm and updates the Status via a OnDrop event.
I have discovered that when I add a choice column in the Fields chooser then no data is rendered if I try to use a custom ItemTemplate. E.g. This is the JSON response I get using the inspector. I've trimmed down the response
I use a Priority field and then I've tried to use the following ItemTemplate the control doesn't display anything.
I've tried these combinations, and also changing the field Type from "E" to "s", as well as the FieldName in the control properties from "Priority" to "Priority.Value"
<div>{{Priority}}</div>
or
<div>{{Priority.Value}}</div>
But alas, nothing is displayed, when I remove this choice Field, or when I remove the Custom ItemTemplate, all of the fields selected are shown.
Can you please share the code needed to display SharePoint Online List Fields?
Thanks in advance and best regards,
The text was updated successfully, but these errors were encountered:
yobdoy
changed the title
Item Template not working with Sharepoint Online
ItemTemplate not working with Sharepoint Online Choice Column
Sep 5, 2024
Hi @scottdurow
Thank you very much for this component, it is fantastic!
I have created a connection to a Sharepoint List. I am able to associate the PCF to the Sharepoint List and display items and group them by Status. Drag and Drop works like a charm and updates the Status via a OnDrop event.
I have discovered that when I add a choice column in the Fields chooser then no data is rendered if I try to use a custom ItemTemplate. E.g. This is the JSON response I get using the inspector. I've trimmed down the response
I use a Priority field and then I've tried to use the following ItemTemplate the control doesn't display anything.
I've tried these combinations, and also changing the field Type from "E" to "s", as well as the FieldName in the control properties from "Priority" to "Priority.Value"
or
But alas, nothing is displayed, when I remove this choice Field, or when I remove the Custom ItemTemplate, all of the fields selected are shown.
Can you please share the code needed to display SharePoint Online List Fields?
Thanks in advance and best regards,
The text was updated successfully, but these errors were encountered: