profile
viewpoint

Ask questionsDriveItem does not have the @microsoft.graph.downloadUrl property

Hi David, I'm trying to get @microsoft.graph.downloadUrl from drive item retrieved as shown below. But the driveItem does not have the downloadurl property. How can i get the download url. DriveItem item = graphService .drives(driveId) .items(itemId) .select("@microsoft.graph.downloadUrl") .get(); Thanks, Pavani

davidmoten/odata-client

Answer questions Pavani-Y

I'm able to download content with @microsoft.graph.downloadUrl too. graphService .drives(driveId) .items(itemId) .get() .getUnmappedFields() .get("@microsoft.graph.downloadUrl") .............. or ........... .drives(driveId) .items(itemId) .get() .getUnmappedFields() .get("content" + "@odata.mediaReadLink")

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List