LoginSignup
4
2

More than 5 years have passed since last update.

Power Query で SharePoint リスト の EntityPropertyName を 取得する

Posted at

Power Query で SharePoint リストの EntityPropertyName, Title, InternalName を取得するだけ。で、EntityPropertyName は一意にならないことがある。まぁ起きないけど。

PowerQuery
let
    ListRootSite = "https://<テナント>.sharepoint.com/",
    ListName = "<リスト名>",
    Source = 
        OData.Feed( 
            Text.Format( 
                ListRootSite & "_api/web/lists/GetByTitle('#{0}')",
                { ListName }
            ) 
        ),
    ContentTypes = 
        Table.Combine( Source[ContentTypes][Fields] ),
    RemovedOtherColumns = 
        Table.SelectColumns(
            ContentTypes, 
            { "EntityPropertyName", "InternalName", "Title" } 
        )
in
    RemovedOtherColumns

image.png

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2