1

I successfully created a view using a Powershell script on SharePoint Online, in a picture library. I based my script on these two blog posts to do my script :

Creating a view CSOM Powershell and How to create a List View in SharePoint Online using PowerShell

My problem is that in both cases, the view doesn't allow to use Quick Edit. In my case, Quick Edit is a must.

0

What does the TabularView property say?

If you check the XML of the created views, it should show FALSE for views without Quick Edit and TRUE for views with Quick Edit. It seems that by default it is set to FALSE:

$ListViewki=$list.Views
$ctx.Load($ListViewki)
$ctx.ExecuteQuery()
foreach($lv in $ListViewki)
{
Write-Output $lv.ListViewXML
}

You can use this New-SPOView cmdlet. It seems to do the job for me.

enter image description here

  • The TabularView is set to FALSE to the view I created with my script.... Any Idea how to change it with a PowerShell Script ? I do how to set it with powershell ? – Merlin Sep 17 '15 at 21:18
  • Hey, I have been looking for a way, but I have to admit I hit a dead end. Did you find something, @Merlin? – grisha Oct 1 '15 at 11:36
  • No, dead end for me too, thx for trying. – Merlin Oct 1 '15 at 21:11
  • I found a way, I am using New-SPOListView from here: social.technet.microsoft.com/wiki/contents/articles/…. I do not see really much difference between your solution and this, but this works for me. Please let me know the result if you try. – grisha Oct 5 '15 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.