Monday, August 1, 2011

SHAREPOINT ONLINE CODE ANALYSIS FRAMEWORK (MSOCAF)

Here is a new tool from MS to review your SharePoint custom code
https://caf.sharepoint.microsoftonline.com/

Tuesday, January 4, 2011

SharePoint 2010 Sanbox Resources

Here are the some of the good links for learning SharePoint 2010 Sandbox

http://msdn.microsoft.com/en-us/library/ff798382.aspx
http://msdn.microsoft.com/en-us/magazine/ee335711.aspx
http://msdn.microsoft.com/en-us/library/gg317460.aspx
http://msdn.microsoft.com/en-us/library/ff872402.aspx#InsideSP14_Ch4_UFTP

Also check out these channel9 videos on sandbox
http://channel9.msdn.com/learn/courses/SharePoint2010Developer#SandboxedSolutions

I had issue running sandbox on those dev servers which is not connected to internet, and after multiple reply to this thread I get solution for that

http://social.technet.microsoft.com/Forums/en/sharepoint2010programming/thread/ff3a5e65-dc5b-4b80-b8c9-752adcc3a903

Tuesday, May 25, 2010

SharePoint 2010 Evaluation Guide

Microsoft has recently published evaluation guide for IP Pro and Developers. These two guides can be downloaded from the below links:

SharePoint 2010: Professional Developer Evaluation Guide and Walkthroughs:
http://www.microsoft.com/downloads/details.aspx?FamilyID=cffb14e8-88a9-43bd-87aa-4792ab60d320&displaylang=en

SharePoint 2010: IT Pro Evaluation Guide
http://www.microsoft.com/downloads/details.aspx?FamilyID=110318ec-0238-4811-8fc7-ec4399d3c100&DisplayLang=en

Tuesday, March 16, 2010

Successfully installed SharePoint Foundation 2010 on Windows 7

I followed the installtion MSDN article http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx, and installed the SharePoint Foundation 2010 on Windows 7..without much of trouble..

Friday, February 19, 2010

SharePoint Site: User Cannot see each other name

Recently we had issue in one of our SharePoint Server Farm, where except sharepoint admin all other user cannot see each other name in "created by" or "modified by" field. This means if user "A" logs-in to the sharepoint site, he could only see his\her name in all the libraries/lists items for "created by" or "modified by" fields if he has modified/created those items, for all other items these field values are blank..

After 2 days of R & D, we came to know that, this issue was related to "User Information List".

Check this blog for introduction of this hidden list


To resolve this issue, open the user Information List using SharePoint Designer, as shown in figure below



The permission of User Information list was set to "Only their Own", specify which itmes user can read field value.

Change this "All items", as shown in figure below:

Saturday, January 9, 2010

SPD Workflow Email hyperlink bug

It seems like SPD workflow bug ..but not sure if anyone else face the similat problem or not.

In SPD workflow email body if you want to create a hyperlink then it always remove the first space it encounter in that hyperlink. For example if I have a hyperlink as follows;

<a href="https://servername/test.aspx?QS1=">click here</a>

When user gets this in email, the link comes as follows: https://outlook.servername/owa/redir.aspx?URL=https%3a%2f%2fservername%2ftest.aspx%3fQS1%3dtest%0d%0user1%26QS2%3dtest+user2

If you observe here in above link, the first space between test and user1 has been converted into “%0d%0" which is a carriage return/line feed, but the space between the test and user2 converted to "+".

Now when user click on this, the browser converts this to https://servername/test.aspx?QS1=testuser1&QS2=test+user2

So it removed the space between test and user1 for QS1 but QS2 has retained the space. This means it remove the first space in the URL but it retains all other spaces. Its not big issue if its a static URL as we can alter the URL in the email body but if the URL is created dynamically then it will always sent the wrong URL in the email body.

Solution/Work Around
=================

I did not find any solution for this, but I solved this issue using a dummy query string variable in URL as a first query string with a space in it and added all my real query strings after that. So I converted my earlier URL as follows:

<a href="https://servername/test.aspx?DummyQS=test test&amp;QS1=test user1&amp;QS2=test user2">click here </a>

Friday, September 11, 2009

Guidance for SharePoint Application developement

Microsoft’s Patterns & Practices group released the second version of guidance for SharePoint Application developement..check this out http://msdn.microsoft.com/en-us/library/dd203468.aspx