我试图隐藏列表中的“标题”字段。 这似乎并不工作:SharePoint:以编程方式隐藏列表字段
SPList myList;
...
SPField titleField = myList.Fields.GetField("Title");
//titleField.PushChangesToLists = true; <-- doesn't seem to make a difference
titleField.ShowInEditForm = false;
titleField.ShowInDisplayForm = false;
titleField.ShowInNewForm = false;
titleField.Update();
//myList.Update(); <-- make no difference
我在做什么错?
这很尴尬。这正是我需要的。我仍然不明白'ShowInEditForm`属性是什么,但至少我可以继续...谢谢(我的辩护,我没有整周睡觉 - 在房子里的新生儿)。 – vitule 2008-11-14 15:37:32