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

Rakesh Kumar 111 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 SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
734 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
432 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.
1,680 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael 17,861 Reputation points
    2021-10-28T01:58:14.027+00:00

    Hi @Rakesh Kumar ,

    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!!!

    No comments