Sharepoint code snippet added