SharePoint 2010 Best Practices link

Leave a comment

Came across very useful link on SharePoint 2010 best practices:

http://social.technet.microsoft.com/wiki/contents/articles/8666.sharepoint-2010-best-practices-en-us.aspx?PageIndex=2

Extending SharePoint 2010 with HTML5

Leave a comment

Does/Will SharePoint 2010 support HTML5?

This is one of most frequently asked questions from my audience in recent SharePoint talks. There seems to be a lot of interest in HTML5 and using it in SharePoint 2010. I gave a talk on Extending SharePoint 2010 with HTML 5 and excerpts from the same are listed below:
Depending on what you want, the answer may be quite different. Before we come to conclusion, here are some facts about current state of SharePoint 2010 and HTML5
1.    SharePoint is from family of application rendering output in XHTML 1.0 and CSS 2.1 and hence does not have built-in HTML 5 support. The Output HTML is not HTML 5.
2.    Mostly, it is up to browsers to support content rendering and same is true for SharePoint.
3.    SharePoint usages Master Pages and content rendering can be controlled through Master Page.
Considering above points,
  • If the need is to output SharePoint pages in HTML 5 that can be validated, we need to wait for future releases of SharePoint (Wave 15).
  • If you want HTML5 tags into SharePoint 2010 pages, this can be achieved by making changes to Master Page.

Changes required:
In SharePoint 2010 master pages, change the DOCTYPE to HTML5,  
Replace
<DOCTYPEhtmlPUBLIC“-//W3C//DTD XHTML 1.0 Strict//EN”http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;>”
with
“<!DOCTYPEhtml>”

Also note, by default, most SharePoint 2010 master pages have the following meta tag in them:

“<metahttp-equiv=“Content-Type”content=“text/html; charset=utf-8” />”

Delete it.

With the DOCTYPE changed and the meta tag deleted, the master pages renders as an HTML5 page

Hope it will help in finding the right answer for your scenario. 

The slides used during presentation can be found below:

Error: you do not have adequate permissions to modify this list. Changes to you data cannot be saved"

2 Comments

When using Claim based authentication with SharePoint 2010, If you try export to excel functionality on any sharepoint list, it works fine with Office (Excel) 2010 client but with Office (Excel) 2007 client, it throws “you do not have adequate permissions to modify this list. Changes to you data cannot be saved” error message.

Office 2007 does not support FBA/Claim based authentication and directly tries to log-in using your windows credentials.

Resolution: (Work-around)
1) Log into the SharePoint site using forms authentication from office 2007 client
2) Open any existing excel document from the site. If you do not have an excel file on the server, upload an excel sheet to any of the document library.
3) It will be opened in browser.
4) Use Open in excel link on the page to open it in excel.
5) open it in read only or edit mode
6) Provide credential on the log- in popup
7) Now go to the SharePoint list and try exporting the list to excel option. It will work.

Restrictions on a WebPart in a sandbox solution

Leave a comment

http://blah.winsmarts.com/2009-12-you_can_deploy_WebParts_as_Sandboxed_solutions__but.aspx.

Showing Actual Error Message in SharePoint 2010

Leave a comment

When SharePoint custom code runs into an error, by default SharePoint will log that error and it will show user a generic error. In order to view the actual error message, you will need to make three changes to your web.config:
1. Change the SharePoint\SafeMode\@CallStack attribute to true.
2. Change System.Web\CustomErrors\@Mode attribute to Off.
3. Change System.Web\Compilation\Debug mode to true.
Making these changes will allow you to both attach to W3WP.exe and run your code in debug mode, and to view actual error messages.

Manage SharePoint services easily

Leave a comment

Running SharePoint 2010 on Windows 7 and don’t want it to slow you Box down when not really required:

A very good utility to manage SharePoint services (single click on and off).
http://sharepointserviceman.codeplex.com/

SharePoint 2010 Top 10 Resources to get you started

Leave a comment

http://sites.google.com/site/hj1702/Home/moss-2010-resources