Skip to main content

This is for Sharepoint 2019 on-prem.

I’m working on a project with Sharepoint lists with lots of views (hundreds of views). If I want to add a new list column and make it visible to all views, is that possible through Nintex workflow so I don’t need to edit each view manually? I’ve been looking at webservice queries but the documentation is very difficult to find and digest. I have seen that I can make newFields through an UpdateList method, but I’m not sure how it works or how the syntax is.

A second question I have is if it is possible to add a new view to a list automatically through workflow. For instance if I would supply the list-id (or list name), criteria on which to sort and filter the view, and the view name, all through WF variables. If it is possible, how would it be done?

Hi ​@BobR 

You’re right about there not being a ton of great documentation on this.  I think you’d be looking at using a web request POST call to: /_api/web/lists/getbytitle('ListName')/views

Probably the best info I found on this was: http://blog.techperspect.com/2015/07/create-list-view-using-sharepoint-rest.html  That’s for creating a new view but the call for updating should be similar and your second question of creating a view would be the same.  Hopefully that helps.


Thanks. That does sound like what I’m looking for. I’m still a bit lost though, I’ve never used a Web Request before. Do I just paste that entire function in the body of the Web Request action or how do I use it? It also wants to have a Content type, what do I fill in there?


Reply