前言
近期在项目中遇到通过SharePoint rest api获取文件Unique ID的需求,如下为实现方法
实现
https://weburl/_api/Web/Lists/getByTitle('document library name')/items(itemid)/FieldValuesAsText?$select=ParentUniqueId,UniqueId
近期在项目中遇到通过SharePoint rest api获取文件Unique ID的需求,如下为实现方法
https://weburl/_api/Web/Lists/getByTitle('document library name')/items(itemid)/FieldValuesAsText?$select=ParentUniqueId,UniqueId