Monday, 18 July 2011

SharePoint and _x0020_ ??

I usually found that display names and internal names in SharePoint appeared differently. I found that a space on the display name would be replaced by _x0020_ in the internal name. Likewise a ':' would be replaced with _x0030_

Usually when i was switchin between the 2 in code references, i would do a String.Replace to do the conversion....
if only i had seen this post ages ago!!!
SharePoint 2010 escape characters

File Modified Error

After months and months and MONTHS of trying to find a solution to the dreaded ' file has been modified by SHAREPOINT\system ..' when using an event receiver in the ItemAdded event, im happy to announce that I have finally got rid of it!!The way in which i did, which initially i thought was impossible or didnt work, was by doing it all in the ItemAdding event and using the after properties.
These 2 links here we key after reading them properly again
SharePoint List Item
SharePoint fill fields