Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. If an Answer is helpful, please click " Accept Answer" and upvote it. Var fileUrl=file.get_serverRelativeUrl() Ĭonsole.log('Failed' + args.get_message() + '\n' + args.get_stackTrace()) Var library = clientContext.get_web().getFolderByServerRelativeUrl('/sites/test/DocumentLibrary') ĬlientContext.executeQueryAsync(onSuccess,onFailed) Hi could use sharepoint jsom to get all files, then loop through the files and add the file url to the img element, for example: var clientContext = new SP.ClientContext() JavaScript and JQuery Interactive Front End Duckett - Free download as PDF File (.pdf), Text File (.txt) or read online for free.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |