How to get the local (translated) column name from a SharePoint Site/List using the Microsoft Graph

Copper Contributor

When calling the Graph like this:

https://graph.microsoft.com/beta/sites/{MY_SITE}/lists/{MY_LIST)?$expand=columns,items($expand=field...)

 

I get the columns, however the displayName from a column is always English, but the site configured as Dutch.

 

SharePoint shows Dutch translation for "Name" in the UI:

Stef_Heyenrath_1-1615445178201.png

 

But the OData result returned still contains only the English name:

{
            "columnGroup""Custom Columns",
            "description""",
            "displayName": "Name",
            "enforceUniqueValues"false,
            "hidden"false,
            "id""8553196d-ec8d-4564-9861-3dbe931050c8",
            "indexed"false,
            "name""FileLeafRef",
            "readOnly"false,
            "required"true
}

 

How to call the MS Graph API so that the Dutch displayNames are returned?

(I tried adding an header "Accept-Language" : "nl" but this does not help.)

Kind regards,

Stef

 

 

 

0 Replies