Cli-microsoft365: How to manage SharePoint list view ?

Created on 28 Dec 2018  路  4Comments  路  Source: pnp/cli-microsoft365

We can "Set List view" :

  • Update title
  • Update / set formatter (json)

But

  • I would like add existing list column to existing view
  • Create new list view
  • We can use "set view" but can't "get view" (for retrieve the Id for example)

Currently, I can't deploy a SharePoint list based on template and apply view formatter directly from my CI without manual action on the list to select which columns have to be displayed.

I missed something on the current capabilities of Office365-CLI ?
Something is in pending on that ?

Thx

question

All 4 comments

@Laul0, you can suggest them as separate commands like 'spo listview get' and 'spo listview add'. Someone from the community can implement them. Even you can contribute if you are interested.

That project is community driven and not all the apis are implemented yet since the cli is quite new project.

If you are not interested in writing code, I can assist you so we get the commands available asap.

You, myself or Waldek can split this question to multiple github issues and I can start work on that so we have complete support for list views.

@VelinGeorgiev, it was exactly what I mean about cmdlet.
I'm not against writing code and contributing to this project.

I first opened this issue because as part of an internal training, I'm trying to implement a completely automated solution and these are the cases I am facing today 馃槙

But ok to start implementing these new commands 馃槃
If you want, I can split this question to specific issues... I let you put the label in accordance with new feature.

That would be helpful @Laul0. I appreciate your help 馃憦

Closing this issue in favor of the issues for the specific commands you created, @Laul0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

waldekmastykarz picture waldekmastykarz  路  3Comments

aakashbhardwaj619 picture aakashbhardwaj619  路  3Comments

arjunumenon picture arjunumenon  路  3Comments

garrytrinder picture garrytrinder  路  3Comments

phillipharding picture phillipharding  路  3Comments