who said that MsOnlineClaimsHelper needs any SharePoint DLL, no it doesn't need anything from plugin, that is why I give you the reference so that you just need to include this class in your plugin just compile and register it no references. Do you have this class?? Just comment the clientContext_ExecutingWebRequest event and use the following code for authentication. MsOnlineClaimsHelper obj= MsOnlineClaimsHelper(SharePointUrl, SharePointUserId, SharePointPassword); CookieContainer cook=obj.getCookieContainer(); // for online sharepoint only not other SharePointList.CookieContainer = authCookie; SharePointListView.CookieContainer = authCookie; // now you can use both list and view web service to create a folder
↧