Thursday, June 19, 2014

Allow unsafe updates and Form digest

When you SharePoint application throws this error
Microsoft.SharePoint.SPException: The security validation for this page is invalid.

You need to ensure to use the "AllowUnsafeUpdates" property of SPWeb class has been set to true where ever you are trying to update the SharePoint items.
After you update revert back to true in your code.

Because SharePoint restricts the cross-site script injection when you are trying to update or change over the HTTP Requests.

FormDigest  is the counterpart to AllowUnsafeUpdates in Server object model in Client side object model.
All SharePoint Forms uses the "FormDigest" value by default.Just open any of the edit form in SharePoint in the browser and see the "View Source code" of the page.
You can see the "FormDigest" value.

Wednesday, June 11, 2014

SharePoint Exam 70-488 preparation

I am preparing the study notes for SharePoint 2013 Exam - 70-448 Developing SharePoint 2013 Core Solution.

Altogether there are seven topics to be covered in the exam. On my plan to create the study notes I successfully compiled the first topic "Plan and Design SharePoint Sites".

In this topic almost the same as SharePoint 2010.So if you have little bit development experience on creating the content types,columns,List Definition and basic site collection administrative tasks then the questions from this chapter is a simple.

I would encourage you not to rely on free dumps available on the net.Absolutely It will makes you fool and leading you to miserable SharePoint career.

So it always best to have real time experience with each of the above aspects. Even if you fail on exam, you aware of it how to implement and apply your knowledge to real time business requirement.

I wanted to share this document with everyone who wanted to take this exam.
Download this from my Skydrive

Friday, June 06, 2014

internet explorer cannot display this feed and supported feed formats

When you are trying to access the REST API url in internet explorer  8+ you might have see the error internet explorer cannot display this feed and supported feed formats
Atom 03,1.0
RSS 0.91 ,0.92
RSS 1.0
RSS 2.0

Because the REST API uses the combination of ATOM and XML feed.
Internet Explorer Cannot display this feed

To resolve this problem
Go to your internet option -> Content Tab -> Click the "Settings" under "Feed and Web Slices"
uncheck the "Turn on feed reading View".