Get or Set the folder default values in a sharepoint document library using ms graph

Marco Dissel 26 Reputation points
2023-09-19T07:01:06.3433333+00:00

How can we get or set the folder default values in a sharepoint document library using ms graph?

The default values for a folder are stored in the XML file in /doclib/Forms/client_LocationBasedDefaults.html, but using an API is much easier....

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,269 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akash Jadav 85 Reputation points Microsoft External Staff
    2024-02-10T08:35:45.5566667+00:00

    Hi Marco Dissel,

    Please refer documentation.

    The SharePoint API in Microsoft Graph supports the following core scenarios:

    • Access to SharePoint sites, lists, and drives (document libraries)
    • Read-only support for site resources (no ability to create new sites)
    • Read-write support for lists, listItems, and driveItems
    • Read-write support for tenant-level SharePointSettings
    • Address resources by SharePoint ID, URL, or relative path

    I am not able to find a way in MS Graph to perform the get or set the folder default values in a SharePoint document library.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.