Hello Eric - Thanks for your response. i will wait for your response on test.
You are right on this that drive id will be there whether it is List or SharePoint folder.
i already tried to use Download file option. The issue is that in case of SP list- what will be the ITEM ID of file to download bcz in get item in list , i am getting only flag of attachment as true . Tried different ID to put in ITEM ID field.
For SP folder Level - i am able to achieve this using below steps post authentication and it is working like a charm
1.Get Drive ID from Get Default Drive item Action.2.Get folder ID of all folder using Get Drive children Contents . 3.Download the file using Download File action.
@Guest as I mentioned, we haven't dug into this at depth yet, but from I see in the Microsoft Graph documentation any file related to a SharePoint site, regardless of how it's displayed, is going to have a driveItem Id associated with it. If you check the following link, you can see an example of what the ListItem JSON would look like. There you can see the reference association for a document that includes the attribute driveItem.
Hello Eric - What you are suggesting is absolute fine for uploading/downloading from SharePoint Folder and i am able to achieve this very well.
I raised this idea when we have to upload/download attachment from SharePoint List not for folder structure . I am only getting a flag attachment as true or false but no further information on attachment and how to upload and download
@Guest we haven't dug into this one yet, but based on my research this should be possible as a muti step process. First you have to get the item details from the list. The item details should contain the documents unique ID on OneDrive or the SharePoint site. From there, you can issue a request to the content endpoint for that drive item ID and receive the contents. For uploading, you would simply use the existing upload capabilities we've published for SharePoint and then you would have to construct an item definition in your target list that references the specific file by its drive item ID.
I heard below but i will still wait for official answer from DX team. @Eric or @GeoffHirst
The Official Microsoft 365 package doesn’t support downloading SP List attachments as Microsoft Graph doesn’t offer this support, and they don’t have any target for it.
Hello Eric - Thanks for your response. i will wait for your response on test.
You are right on this that drive id will be there whether it is List or SharePoint folder.
i already tried to use Download file option. The issue is that in case of SP list- what will be the ITEM ID of file to download bcz in get item in list , i am getting only flag of attachment as true . Tried different ID to put in ITEM ID field.
For SP folder Level - i am able to achieve this using below steps post authentication and it is working like a charm
1.Get Drive ID from Get Default Drive item Action.2.Get folder ID of all folder using Get Drive children Contents . 3.Download the file using Download File action.
Neeraj Kumar
@Guest as I mentioned, we haven't dug into this at depth yet, but from I see in the Microsoft Graph documentation any file related to a SharePoint site, regardless of how it's displayed, is going to have a driveItem Id associated with it. If you check the following link, you can see an example of what the ListItem JSON would look like. There you can see the reference association for a document that includes the attribute driveItem.
https://learn.microsoft.com/en-us/graph/api/resources/listitem?view=graph-rest-1.0
I'll try to get someone assigned who can dig into this and run some tests in the next week or so.
Cheers,
Eric
Hello Eric - What you are suggesting is absolute fine for uploading/downloading from SharePoint Folder and i am able to achieve this very well.
I raised this idea when we have to upload/download attachment from SharePoint List not for folder structure . I am only getting a flag attachment as true or false but no further information on attachment and how to upload and download
@Guest we haven't dug into this one yet, but based on my research this should be possible as a muti step process. First you have to get the item details from the list. The item details should contain the documents unique ID on OneDrive or the SharePoint site. From there, you can issue a request to the content endpoint for that drive item ID and receive the contents. For uploading, you would simply use the existing upload capabilities we've published for SharePoint and then you would have to construct an item definition in your target list that references the specific file by its drive item ID.
Cheers,
Eric
I heard below but i will still wait for official answer from DX team. @Eric or @GeoffHirst
The Official Microsoft 365 package doesn’t support downloading SP List attachments as Microsoft Graph doesn’t offer this support, and they don’t have any target for it.