Monthly Archives: September 2012

JQuery is loaded or not

I recently had a requirement to check whether JQuery is loaded or not.

So, I found a snippet on google for that.

if ( typeof (jQuery) != “undefined” ){

//jquery is not loaded

}

else{

//jquery is loaded

}

Advertisements

SharePoint 2010 Designer error “Your server may be of higher version than the currently installed SharePoint Designer”

Problem: “Your server may be of higher version than the currently installed SharePoint Designer”

I recently faced a problem, where I was prompted to login again & again in the SharePoint claims website. I was working in a farm environment with 1 WFE, 1 application server & 1 DB server.

When I open SharePoint designer & try to connect to the website. I was authenticated but again redirected to login page & continuously it happens. SharePoint Designer 2010 gives an error message somewhat like “Your server may be of higher version than the currently installed SharePoint Designer”.

Continue reading

method GetItems on list id {guid} blocked by administrator

Recently I developed a tooltip functionality in SharePoint 2010 which queries the pages list, fetch the title & description and renders it as a <div> element.

Problem Description:

It was working fine when the user is logged in, but when I access the site as anonymous user, it gave me error “the method GetItems on List with ID {guid} is blocked by administrator”.

So, after a quick googling I found the solution, that there are some restrictions in client object model for anonymous users. These restrictions are called client callable settings in SharePoint.

Continue reading