question

AskhatAbishev-2827 avatar image
0 Votes"
AskhatAbishev-2827 asked saldana-msft edited

How to create a column using msgraph-sdk-java?

Hello! Is there an API in msgraph-sdk-java that allows creating a column in a document library?

microsoft-graph-sdkmicrosoft-graph-sites-lists
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShwetaChoudhary-8869 avatar image
0 Votes"
ShwetaChoudhary-8869 answered AskhatAbishev-2827 commented

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
• Address resources by SharePoint ID, URL, or relative path

Currently there is no use case and API provided to support column creation in document library.

Can you share your specific scenario for which you need column creation through an API?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

In Microsoft Graph REST API Beta I see such functionality - https://docs.microsoft.com/en-us/graph/api/list-post-columns?view=graph-rest-beta
And it works fine, but when I try to create a 'Yes/No' column I cannot specify the default value...

0 Votes 0 ·