i would like to thank you for this amazing job you have done thanks you so much
may i ask you a question
i want to put a link to download each document of the library
i have added in the request :
/_api/web/lists/getbytitle(‘xxx’)/items/?$select=priority,Modified,FieldValuesAsText/FileRef,File,Editor/Title&$expand=FieldValuesAsText,File,Editor
FieldValuesAsText
but i don’ t know how to make a button in the details list to link to another page in order to download the file
Download is not available or link is moved
LikeLike
Thanks, Link updated
LikeLike
Download is not available now as well.
LikeLike
Hi Simran,
Check this link for download, please let me know if you face any issue while access the link
https://github.com/ravichandran-blog/SPFx
LikeLiked by 1 person
i would like to thank you for this amazing job you have done thanks you so much
may i ask you a question
i want to put a link to download each document of the library
i have added in the request :
/_api/web/lists/getbytitle(‘xxx’)/items/?$select=priority,Modified,FieldValuesAsText/FileRef,File,Editor/Title&$expand=FieldValuesAsText,File,Editor
FieldValuesAsText
but i don’ t know how to make a button in the details list to link to another page in order to download the file
would you mind explain this to me please ?
LikeLike
In the render event build hyperlink for download link
https://github.com/ravichandran-blog/SPFx/blob/master/Fabric-DetailsList/src/webparts/fabricDetailsList/components/FabricDetailsList.tsx#L139
LikeLike