jeudi 26 mars 2015

How to rename an SPFolder



In an event receiver, in itemcreated and not creating, i need to rename the spfolder created. I've tried with meta Name or FileLeafRef but no one works



properties.item["Name"] = "new name";
properties.item.Update();


Ho to achieve this








0 commentaires:

Enregistrer un commentaire