My default "Pages" -List-View in Sharepoint has many columns, so it will not be displayed. The following error appears:
This view cannot be displayed because the number of search status columns and the workflow that it contains exceeds the threshold value (8) entered by the administrator.
I know how to fix this using central administration (as described here: How to include a view in SharePoint2010, where there can be more than 8 Lookup columns? )
But I want to automatically change this setting by activating a function using C # -Code. Can this be done with code?
source
share