Aug 07 2016 10:55 PM
Aug 07 2016 10:55 PM
Hi,
I am having a little issue i provision a subsite using PNP in the subsite i have a Page with 3 Webpart 2 of them are documentlibrarys. the problem i have is that the view is only 3 default columns. but the default view of my doc library is different.
Now i tried to use a extention to edit the view i had no luck. I tried removing the Webpart and add it again with correct view no succes.
Does anybody know how to do this with csom?
Kr,
Paul
Aug 14 2016 10:41 PM
Aug 14 2016 10:41 PM
SolutionHe guys found the solution and made a blog for it: https://docs.com/paul-keijzers/4594/unable-to-change-view-of-list-view-web-part-csom
Aug 25 2016 04:44 AM
Great that you have found a solution Paul.
Can this be integrated into the Office Dev PnP Provisioning Engine, so the use of an extension method is not needed anymore? @Vesa Juvonen, @Bert Jansen
Aug 25 2016 05:31 AM
Today I've merged the PR's for issue 584: https://github.com/OfficeDev/PnP-Sites-Core/issues/584. Think this should do the same as well
Aug 25 2016 06:12 AM
Looks promising @Bert Jansen.
Does this mean it's currently in the Dev-branch and will in the master-branch for the September PnP-Core release?
Aug 25 2016 06:14 AM
Correct.
Sep 16 2016 03:13 AM
HI Paul,
can this be applied to change toolbar settings as well?