diff --git a/search-parts/src/components/DownloadSelectedItemsButtonComponent.tsx b/search-parts/src/components/DownloadSelectedItemsButtonComponent.tsx index efe755c9..0dad1109 100644 --- a/search-parts/src/components/DownloadSelectedItemsButtonComponent.tsx +++ b/search-parts/src/components/DownloadSelectedItemsButtonComponent.tsx @@ -95,11 +95,14 @@ export class DownloadSelectedItemsButtonComponent extends React.Component${item["NormUniqueID"]}` + } }) }; - return this.props.webPartContext.spHttpClient.post(`${item["SPWebUrl"]}/_api/web/lists/GetById('${item["NormListID"]}')/RenderListDataAsStream?FilterField1=UniqueId&FilterValue1=${item["NormUniqueID"]}`, SPHttpClient.configurations.v1, spOptions1) + return this.props.webPartContext.spHttpClient.post(`${item["SPWebUrl"]}/_api/web/lists/GetById('${item["NormListID"]}')/RenderListDataAsStream`, SPHttpClient.configurations.v1, spOptions1) .then((response: SPHttpClientResponse) => { return response.json() });