문제

I'm able to connect to a SharePoint 2019 list using the listdata.svc service.

Problem is, if the control for a column is of the "Choice" variety, with multiple selections allowed, the data stored in it will not be retrieved in the resultant XML when passing the feed URL in a browser.

If the control is something like "Multiple lines of text" the data is available in the XML.

Is this something that needs to be sorted out in the config of the SP list, or do I have to modify the feed URL ?

image of multi-select control image of resultant XML

도움이 되었습니까?

해결책

try the below URL, I have added code to expand the Multiselect field.

https://YOURSITE/_vti_bin/ListData.svc/prodtest?$expand=Multiselect
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top