0
votes
0answers
357 views

Download file with C# WindowsForms “WebBrowser” from Sharepoint OneDrive

When I looking for way to communicate with Sharepoint OneDrive, I can't understand cridentials and way to login with c# desktop app. And I found another way. I create WebBrowser component, then ...
0
votes
3answers
179 views

Sync two SP calendars

My criteria is as follow: If I add an event in Calendar A , then I want the same event to be added in a different calendar B with some condition. So that I don't have to pick a specific item from ...
1
vote
1answer
238 views

Looping through all the document libraries and modify the items

I have here a piece of code which loops through the all site collections and webs and lists to find particular and modify some items: foreach (SPSite site in webApp.Sites) { ...
0
votes
1answer
195 views

Get reference to the document library sharepoint 2013

I want to get reference to document library in code using SP 2013 by url, I am trying the SPWeb.GetList(url); but it works for lists only. any help?
0
votes
1answer
911 views

Button Onclick EventHandler from CreateChildControls

I have declared a button in my CreateChildControls method in my web part page: TableCell updateCell = new TableCell(); Update = new Button(); Update.Text = "Update"; ...
1
vote
1answer
482 views

Adding HyperLinks + Richtext field values via SP2010 Web Services

I've written an app that reads data via the web services in order to help my data migration process from SharePoint 2007 to 2010. I've been successful for the most part. I've been able to bring the ...
0
votes
1answer
154 views

removing then setting custom permissions for a list

I have been looking around for few days, but couldn't really figure out, how I will be able to do this. what I am doing is removing all permissions of a given list using following code, using ...
0
votes
1answer
1k views

How Do I Get the MySite Images and Full Name of the MySite owner in MOSS 2007 in C#

I am building a simple web part that needs the image that is used from the MySite and the First and Last name of the site owner. I know how to get the current user, I need the name. I am also having ...
1
vote
2answers
796 views

Get List of Items in SharePoint List

I am trying to get a list of items that are contained inside a sharepoint list. When I use the code below I get an error [ArgumentException: Value does not fall within the expected range.] ...