Hi gays,
I have to change a views because the edit button linked to name for example I want to appear linked to another field.
I've seen how I have to do manually:
Open the aspx file in which is the list (e.g: allitems.aspx) and add listItemMenu="TRUE" attribute to the required field:
<ViewFields><FieldRef Name="Title" linkToItem="TRUE" listItemMenu="TRUE" /><FieldRef Name="Subject"/><FieldRef Name="Teacher"/></ViewFields>
but I need to do that through CSOM, because if I update some thing of the view, I lost this changes.
Any ideas?
Thanks in advance!