Posts Tagged ‘moss’

Soap Server Error When Trying To Edit Pages In SharePoint Designer

This item was filled under [ Uncategorized ]
VN:F [1.9.3_1094]
Rating: 1.0/5 (2 votes cast)

Another interesting happening from the awesome world of SharePoint errors and (i dare say) bugs is this weird error you can sometimes get when you try to open a page in the SharePoint Designer, particularly a WebPart page, even the Default.aspx. Starting from the beginning, I should remind you how SharePoint web part pages work. The fact of the matter is that while you can edit them and their code in SharePoint Designer, adding/closing/deleting web parts from within the browser interface also modifies the page’s code. Continue reading…

Tagged with: [ , , , , ]

The Correct Way Of Updating List Items in SharePoint

This item was filled under [ C#, SharePoint ]
VN:F [1.9.3_1094]
Rating: 1.0/5 (2 votes cast)

Many times you will need to manipulate data within a list in your custom SharePoint page or web part. Out of these times, you might also need to edit the data in that list like in, for example, a user profile edit page or a contact edit page. Some might say that this is a piece of cake, just assign the required value to the SPListItem and be on your way. Alas, this is not the case, since if you only do this you might realize that the data you need hasn’t been updated in the database. Though it cannot be called a major inconvenience with the SharePoint object model, it is a bit disorienting and might be a bit of a hassle until you get the actual hang of it. Continue reading…

Tagged with: [ , , , , ]

Get SharePoint User Information In C#

This item was filled under [ C#, SharePoint ]
VN:F [1.9.3_1094]
Rating: 1.0/5 (2 votes cast)

I am posting this tutorial because it seems there are very few articles on the net that actually present you with a practical way of retrieving SharePoint user information in C#, for example to display in a WebPart. Most of these articles describe the method of programatically achieving this for Microsoft SharePoint Server 2007 (MOSS), but in Windows SharePoint Services (WSS) this bit is more tricky. Mainly because WSS keep only limited user info and also because it uses a hidden list to store that information. Continue reading…