Feeds:
Posts
Comments

Posts Tagged ‘Sharepoint’

Microsoft has released a tool that allows developers to reuse data and mini-applications from SharePoint-based portals on rival portal software that otherwise would not be natively interoperable with SharePoint, the company said.
The WSRP (Web Services for Remote Portlets) Toolkit for SharePoint provides sample code for producing WSRP-conformant data from SharePoint lists and libraries, according to [...]

Read Full Post »

Here is the way we can add item level permission for a user on an item,
SPRoleDefinition oUserRole;
SPRoleAssignment oUserRoleAssignment;
SPListItem itm;
SPSite site = null;
SPWeb web = null;
string siteUrl = Request.Url.ToString();
site = new SPSite(siteUrl);
web = site.OpenWeb();
SPGroup grp = web.Groups[groupname];
itm=web.Lists["Shared Documents"].Items[0];
oUserRole = web.RoleDefinitions.GetByType(SPRoleType.Administrator);
oUserRoleAssignment = new SPRoleAssignment(loginName, emailId, userDisplayName, notes);//for user
or
oUserRoleAssignment = new SPRoleAssignment(grp);//for group
oUserRoleAssignment.RoleDefinitionBindings.Add(oUserRole);
itm.RoleAssignments.Add(oUserRoleAssignment);
web.AllowUnsafeUpdates = true;
itm.Update();
web.Update();
web.AllowUnsafeUpdates = false;
This is [...]

Read Full Post »

It’s been very long, I have been finding a way to remove all the item level permission.
My requirement was to set permission only to particular users and groups on an item and remove rest all. I almost spend 3 weeks in finding a way to remove all the permission on the item so that later [...]

Read Full Post »

While creating MySite today, i encountered the following error,
HTTP/1.1 404
Connection: close
Date; Tue, 16 Sep 2008 05:04:43 GMT
Server: Microsoft-IIS/6.0
MicrosoftSharepointTeamServices: 12.0.0.6219
X-Powered-By: ASP.NET
This error occurs because the SharedService is not properly configured. You can resolve this error by correcting the SharedService or by creating a new SharedService for this site from Central Admin.
I just created a new SharedService [...]

Read Full Post »

Today I was working on creating a new sharepoint site, and after creating the site from the central admin, I got the following error:
HTTP/1.1 404
Connection: close
Date: Tue, 16 Sep 2008 05:09:29 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 12.0.0.6219
I searched on the error and found the following solution, so just wanted to
share the solution with you guys.
Make sure you [...]

Read Full Post »

Older Posts »