Sharepoint 2013 discussions list has a view named "Flat",but it is uneditable. I have to add aditional fields in the list and display those fields in Flat view. I tried creating another view of Flat view type but that view also not displaying the fields that I marked.
So is there is a way to clone this view as editable?? I tried cloning that view but the view that is getting created also cannot be edited. Is is the code I used to clone the view
SPSite site = new SPSite("url");
SPWeb web = site.OpenWeb();
SPList List = web.Lists["Discussions List"];
SPView thisView = List.Views["Flat"];
thisView = thisView.Clone("Testing", 100, true, false);
thisView.Update();
Please give me your feedbacks
Thank You

