How to use the SharePoint Client Object Model to get the email address of...
Here's what I have so far: private static bool RoleAssignmentHasPermissions(RoleAssignment roleAssignment) { roleAssignment.Context.Load(roleAssignment.RoleDefinitionBindings);...
View Articleerror: $Resources:core,ImportErrorMessage
Hi, I have a simple SP2010 webpart code and solution on a farm environment. When I am trying to edit the page and add the webpart, I get the WebPart Import error: $Resources:core,ImportErrorMessage...
View ArticleHow to convert string to "Publishing Html" content type?
How can I convert a string into an HtmlField ("Publishing Html") type?ne of the field in the SP list is of type "Publishing Html". I read the value from an excel sheet into a string variable. I want to...
View ArticleError occured in deployment step 'Add Solution': Error: Cannot add the...
Hi everyone,We've setup a fairly straightforward development environment with SharePoint 2010 and Visual Studio 2010 installed on it, added a couple of projects and created a reference to the AJAX...
View ArticleHow to add a event receiver to a Custom list?
I have a custom list in my Sharepoint Site. I want to create an Event Receiver for this site. In the wizard "what item should be the event source?" i could not find the custom list i have created...
View ArticleRetrieve Data from Sharepoint list into SQL Server database
Hi All,How to retrieve data from sharepoint lists of multiple sites and dump it into SQL Server Database ?Thanks,Amit C A
View ArticleHow to escalate task to the next approver in sharepoint designer workflow
Hi all,Can anyone tell me how to escalate task to the next approver if there are N approver after duedate is completed. In sharepoint designer we can only escalate task to the employee's manager we...
View ArticleData is not coming in one click(coming in second click) of custom control
Hi Techies,We are facing one issue from the below code when it is deployed in a SharePoint 2010 application. On first click data is not coming but were as in the second click of same button the data is...
View ArticleData is not loading on fist click of button it is coming in 2nd click of...
Hi Techies,We are facing one issue from the below code when it is deployed in a SharePoint 2010 application. On first click data is not coming but were as in the second click of same button the data is...
View ArticleIssues Checking Documents in and out through Microsoft Word
We are currently using SharePoint 2010 and Office 2007. Select individuals upload Word documents to our document library and start a workflow which sends emails to various individuals to "sign" the...
View ArticleProgramatically adding users to List based on User Job levels.
Hi,How can I give access to SharePoint lists programmatically?For Ex: I have user1 with job level 1 and user 2 with job level 2. I have two share point lists in my site List A and List B.Now I want to...
View ArticleError: This page contains content or formatting that is not valid. You can...
Hi !I have a web part code with no controls on it. This web part simply checks the current login user entry in a custom list. If found the user can access the home page else it redirects the user to a...
View ArticleActive Directory Domain Local groups and C#
Hi,I have a requirement where I am supposed to show the AD group users from C# code in a SharePoint 2010 web part. I am using Principal Context as we are using .Net Framework 3.5. I don't have issues...
View ArticleHow do I use the Parameters from URL to filter on Content Query in...
Hi, I might need your help with code that Content Query under <xsl:Template...> that I need a filter for 3 parameter from url (from date, to date(for date range) and type.eg:...
View ArticleSharePoint UserProfileService.asmx for cross platform mobile application...
I'm writing an corporate iPhone/Android application which pulls information from Sharepoint 2010 UserProfileService.asmx service.I believe I cannot use...
View ArticleMost commented news articles
Hello All,We are using the OOB NoteBoard web part in SharePoint 2010 and SharePoint 2013. On home page we want to show the most commented news articles in web part. But here I am getting the way to...
View Articlecreate custom bread crumbs fetching data from list in sharepoint 2010
Hi,I want to create custom bread crumb which will fetch the data from my custom list. i dont want to sue OOTB feature.Can anybody have idea how to implement it????
View ArticleSharepoint linq entity classes generation error
i want to query the SP list using LINQ. so in cmd prompt i moved to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN. then i ran the command SPMetal.exe /web:http://YOURSITE...
View Articlecustomizing CQWP in custom page layout
This is a followup question of this thread which was resolved successfully-...
View ArticleWhat is the best way to create VS project solution for SharePoint
Hi all,What is the best way to create VS solution for SharePoint items? Is it better to create different VS projects for Pagelayouts, user experience (css ,images) ,Master page, content types, web...
View Article