Microsoft Graph Sites and Lists API - adding new hidden column is visible in default view

RakeshKumar-4431 251 Reputation points
2021-10-27T09:09:08.623+00:00

We are adding a new hidden columns in the Default Document list using this post. Following is the payload

{  
            "description": "Test column for testing hidden",  
            "displayName": "Test_DCR_3",  
            "hidden": true,  
            "indexed": false,  
            "name": "Test_DCR_3",  
            "required": false,  
            "text": {  
            }  
}       

As per the documentation the column should be hidden from the UI but its visible in the default view of the list as shown below.

144100-image.png

This looks like an issue in the current implementation of adding column using graph API.

This is a show stopper for us as we don't want to confuse end users with showing hidden columns, if there is a work around to get it working please let us know.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,553 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,662 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,016 Reputation points
    2021-10-28T01:58:14.027+00:00

    Hi @RakeshKumar-4431 ,

    Per my test, I could reproduce your issue on my end. The column is still displayed in the user interface list view. And it is only hidden in the new view and edit view.

    We would help check this issue. If there is any update, I would let you know.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  2. Felix Greve 1 Reputation point
    2022-05-27T15:41:31.36+00:00

    Unfortunately, this still does not work. Please update!!!

    0 comments No comments