Tuesday, September 30, 2014

SharePoint Restore-SPSite error - Response message does not match the content type of the binding

While working with SharePoint site  restoring with PowerShell commands I got an error saying that,  Restore-SPSite : The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly After googling...

Saturday, September 27, 2014

SharePoint – Back to basics – Designer quick tips – All Items in navigation, Updating List URL

I got a simple requirement for one of my project to update the list URL. Basically this is a simple requirement by using Object model/PowerShell commands. But we don’t have option to use PowerShell commands or coding. Even without them we can update that easily from SharePoint...

Sunday, September 21, 2014

SharePoint InfoPath form Allow anonymous users to enter data

SharePoint InfoPath forms is one of the way to enter data into SharePoint. To allow anonymous users to enter the data in the forms we have to follow the steps below, Configure Anonymous access to SharePoint site Create a list that to submit data anonymously, Change anonymous...

SharePoint 2007 error while opening the site in designer - this website has been configured to disallow editing with SharePoint designer

One my client having SharePoint 2007 environment. We got some requirement to check the existing functionality in one of the site. To verify the existing web parts I have tried to open the page in SharePoint designer.  While opening the site in SharePoint designer 2007,...

Tuesday, September 16, 2014

SharePoint content type error “The content type is in use”

One of my project from recent times I was worked on content hub to manage the content types in SharePoint. While changing the content type name, I got an error saying that “The content type is in use” as shown the image below. I have checked all the content types in current...

Wednesday, September 10, 2014

Check SharePoint service status using SharePoint object model

By using SharePoint object model we can retrieve the User Profile Service information like User Profiles and user group details from UserProfileManager class. Some times we can see “UserProfileApplicationNotAvailable” error. We can check service availability details using following code block. public bool IsCurrentServiceisInStart(string serviceName) {     bool...

Sunday, September 7, 2014

SharePoint – Back to basics – Impersonate user programmatically

In SharePoint custom development activities, we have to impersonate the user to view SharePoint contents. To impersonate user in SharePoint we need to have the account that having privileges (generally in Run with elevated privileges “System Account” will be used) or user tokens. To handle with System Account, we can use following code block, SPSite parentSite = new SPSite(siteURL); SPUserToken...

SharePoint custom workflow send email task error: The e-mail message cannot be sent. Make sure the email has a valid recipient

While working with SharePoint custom workflow with Send email task, i am seeing “The e-mail message cannot be sent. Make sure the email has a valid recipient” error in workflow history list every time workflow fired. I was in a confusion that why I am seeing that every time. Very first time designing workflow I have left all properties for “Send Mail” task empty as I am sending...

Thursday, September 4, 2014

InfoPath error – “Your user name or group membership cannot be verified because the form's security settings do not permit it.”

Working with existing InfoPath forms, while opening the form it is showing error as “Your user name or group membership cannot be verified because the form's security settings do not permit it.” As shown the below.  We can get this error due to form security error....

Wednesday, September 3, 2014

Customize SharePoint survey through UI

In SharePoint survey we don’t have option to edit the survey views and details. In my project, we need to add a column with to response to survey which works as a normal list item. This column need to save the response of the survey. I have tried to do this through UI and I am unable to do that as regular list options. I have checked it in google, few answers says that it is nearly...