Hello SharePointers!
Quick Update on the SharePoint 2010 Book:
The book Expert SharePoint 2010 Practices is slightly delayed and the new launch date is 24th October, 2011.
Monday, October 10, 2011
Thursday, September 15, 2011
SharePoint 2010 Book
Hello SharePointers!
No post since ages, I know. I actually was busy with my book on SharePoint 2010 with a team of authors...surprrrrrise :o). The title of the book is Expert SharePoint 2010 Practices and it has been published by APress.
This book is available for pre-order for now and will be finally launched on Oct 15, 2011. This book is a great source of knowledge for Architects and Developers who are keen about SharePoint 2010. Don't forget to leave the feedback.
Happy Reading.
No post since ages, I know. I actually was busy with my book on SharePoint 2010 with a team of authors...surprrrrrise :o). The title of the book is Expert SharePoint 2010 Practices and it has been published by APress.
This book is available for pre-order for now and will be finally launched on Oct 15, 2011. This book is a great source of knowledge for Architects and Developers who are keen about SharePoint 2010. Don't forget to leave the feedback.
Happy Reading.
Wednesday, May 25, 2011
Friday, May 6, 2011
Replacing URL in HTML using JQuery
Scenario:
Sometimes if a list is currupted, Allitems.aspx's HTML starts acting weird and we dont want to spend too much time to dig deep into the problem but want a quick fix and endup fixing the HTML. Same goes here.
Solution:
Following code change the URLs in a page to a predefined URL.
Sometimes if a list is currupted, Allitems.aspx's HTML starts acting weird and we dont want to spend too much time to dig deep into the problem but want a quick fix and endup fixing the HTML. Same goes here.
Solution:
Following code change the URLs in a page to a predefined URL.
<script type="text/javascript">
if(typeof jQuery=="undefined")
{
var jQsrc="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.4.min.js";
document.write(unescape("%3Cscript src='"+jQsrc+"' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
$(document).ready(function() {
//find all hyperlinks in the table holding calendar links and
//change them to point at the display page instead of the edit page
$("table[id^='CalViewTable']").find("a[href*='OldForm.aspx']").each(function(){
var originalUrl = $(this).attr("href");
var newUrl = originalUrl.replace("OldForm.aspx", "NewForm.aspx");
$(this).attr("href", newUrl);
});
});
</script>
Ref: http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/ee519099-e685-4560-9c18-70e4aa62eb39
Monday, March 28, 2011
Monday, March 21, 2011
ECMAScript Class Library
Following is the refrence to SHarePoint 2010 ECMA Script Class Library:
URL: http://msdn.microsoft.com/en-us/library/ee538253.aspx
URL: http://msdn.microsoft.com/en-us/library/ee538253.aspx
Tuesday, March 15, 2011
SharePoint Client Object Model vs Server Object Model Classes
One of the new feature of SharePoint 2010 is the Client Object Model. By using Client Object Model, developers can build the applications which can talk to SharePoint without using WebServices and without deploying any server side code.
Following is the list of Client Object Model classes and their equivalent to Server Object Model classes:
Example:
Ref: http://msdn.microsoft.com/en-us/library/ee857094(office.14).aspx
Following is the list of Client Object Model classes and their equivalent to Server Object Model classes:
| Client Object Model | Server Object Model |
| ClientContext | SPContext |
| Site | SPSite |
| Web | SPWeb |
| List | SPList |
| ListItem | SPListItem |
| Field | SPField |
Example:
using Microsoft.SharePoint.Client;
private void SomeMethod()
{
ClientContext clientContext = new ClientContext(siteUrl);
Site siteCollection = clientContext.Site;
Web site = clientContext.Web;
}
Ref: http://msdn.microsoft.com/en-us/library/ee857094(office.14).aspx
Subscribe to:
Posts (Atom)
-
Scenario: Updating the Master Page for SharePoint Online is not recommended by Microsoft now.....fine. So how do we change the UI then? And...
-
Microsoft introduced Office Graph a couple of months back which uses machine learning techniques to connect people to the relevant content,...
-
Recently my customers was looking for a solution where on-field guys can search for answers related to their tasks and it was a perfect scen...
Official SharePoint Documentation
I have recently contributed to the official SharePoint documentation for developement. Check it out here: https://docs.microsoft.com/en-us...