SOLVED

create SPO list or patch SPO list with graph api

Brass Contributor

using graph api is a tremendous value for us in O365. in this particular case we struggle to come to the right idea.

 

graph allows to create SPO lists -- e.g. with generic template (which includes the title Collum as a must value.

 

once the create is done -- there is no way we can customize the SPO list

  • add more Collums over time
  • change values for "must" and indexed to remove "title" Collum
  • rename any display names

Can anyone share if this is better done otherwise or a matter of time till graph api will have a similar feature set like powershell

1 Reply
best response confirmed by Oliver Funk (Brass Contributor)
Solution

Hello @Oliver Funk ,

 

You can use the SP PnP or O365 CLI for customize the SharePoint List.

SP PnP JS:

https://pnp.github.io/pnpjs/sp/lists/

 

O365 CLI:

https://pnp.github.io/office365-cli/cmd/spo/list/list-set/

 

There is way we can customize the SPO list

  • add more Collums over time
  • change values for "must" and indexed to remove "title" Collum
  • rename any display names etc...

 

1 best response

Accepted Solutions
best response confirmed by Oliver Funk (Brass Contributor)
Solution

Hello @Oliver Funk ,

 

You can use the SP PnP or O365 CLI for customize the SharePoint List.

SP PnP JS:

https://pnp.github.io/pnpjs/sp/lists/

 

O365 CLI:

https://pnp.github.io/office365-cli/cmd/spo/list/list-set/

 

There is way we can customize the SPO list

  • add more Collums over time
  • change values for "must" and indexed to remove "title" Collum
  • rename any display names etc...

 

View solution in original post