You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although when we fetch fields of list items, it gives an indication if the list item about presence attachements
{
...
"Attachments": true,
...
}
There seems to exist a way to fetch them using REST APIs https://{{tenant-id}}.sharepoint.com/_api/web/lists/getbytitle('{{site-name}}')/items({{item-id}})?$expand=AttachmentFiles.
However, it would be better to have that support using GRAPH APIs (and SDK) directly.
Similar to the way there exists support for email messages.
@noumanmehboob
Not really with GRAPH APis, we can fetch via Sharepoint REST APIs. I do have a POC for it but we have not integrated it into our products as it requires certificates and additional user permissions.
Here is the SDK that can help with Sharepoint REST APIs
Sharepoint site lists has provision to add attachement(s) in the UI.
But GRAPH APIs (and thereby SDK) does not seem to provide a way to fetch/create the list items attachments details.
APIs tried:
Although when we fetch fields of list items, it gives an indication if the list item about presence attachements
There seems to exist a way to fetch them using REST APIs https://{{tenant-id}}.sharepoint.com/_api/web/lists/getbytitle('{{site-name}}')/items({{item-id}})?$expand=AttachmentFiles.
However, it would be better to have that support using GRAPH APIs (and SDK) directly.
Similar to the way there exists support for email messages.
Moreover, even if we could fetch the attachment details via REST APIs, how can we create/update them?
The text was updated successfully, but these errors were encountered: