Jun 17, 2011
Color Coding Calendar in SharePoint 2010
This is my new project in SharePoint 2010 for one of the Europe Division. Development part is completed , hopefully by next month i will be moving into production. I will keep you posted....!
Plan browser support (SharePoint Server 2010)
Punch Line : Before starting a project in SharePoint 2010 make sure about the browsers that users in the company are using.
| Browser | Supported | Supported with limitations | Not tested |
| Internet Explorer 9 (32-bit) | X | ||
| Internet Explorer 8 (32-bit) | X | ||
| Internet Explorer 7 (32-bit) | X | ||
| Internet Explorer 9 (64-bit) | X | ||
| Internet Explorer 8 (64-bit) | X | ||
| Internet Explorer 7 (64-bit) | X | ||
| Internet Explorer 6 (32-bit) | X | ||
| Mozilla Firefox 3.6 (on Windows operating systems) | X | ||
| Mozilla Firefox 3.6 (on non-Windows operating systems) | X | ||
| Safari 4.04 (on non-Windows operating systems) | X |
Bottom Line : Never use SharePoint 2010 on IE6.
Jun 16, 2011
Master Data Management in SharePoint 2010
We know that Microsoft’s new master data management (MDM) product, codenamed ‘Bulldog‘, will ship with the next version of SharePoint Portal Server, although so far there have been no clues as to exactly what form it will take. It seems like MDM is a term that we may become more familiar with in the near future – the Master Data Management Roadmap mentions that:
“MDM will be integrated with the core Microsoft Office Business Platform suite of applications such as PerformancePoint, Dynamics, Microsoft Office Excel and Microsoft Office SharePoint Server as well as key third party applications.”
That’s all fine and well, but the question most people will likely ask when reading this is, “What exactly is master data management?”
In a nutshell, master data management is about bringing together an organization’s disparate data stores. A typical organization may have a support system, an ERP system, a CRM system, a sales & marketing database, a product database etc. and the goal of MDM is to consolidate all of this data (and associated metadata) so that it can be viewed, managed and searched from a central and secure location. Wikipedia notes that, “Bulldog aims to create a centralized data source and keep it synchronized, and thus reduce redundancies, across the applications which process the data.”
There is a hell of a lot more to MDM than the brief description above so if you’re interested, read the MDM overview, or browse some of the articles on Microsoft’s MDM site.
Jun 10, 2011
SPLINQ - Parameter.xml to show hidden fields
Problem: I can never remember the syntax for the parameters files and need to lookup how to include hidden SP 2010 fields in the LINQ to SharePoint Proxy.
Initial Hypothesis: Use a Parameters.xml file to get SPMetal to generate the proxy with hidden fields. You can use the IncludeHiddenColumns element within the ContentType element to include all hidden fields or as I have done in the resolution example, specify the fields to include using the element Column.
Resolution:
1.> Create a parameters.xml (name it for you specific project) and add it to the 14\bin directory.

2.> Use the dos cmd prompt to generate the LINQ to SharePoint Proxy.
3.> Add the generate LINQ to SharePoint proxy code to your Visual Studio project.
4.> Add the query to show 1 of the hidden fields that is now part of your proxy.
More Info: You can use the same technique for custom site columns however, you will need to manually edit the proxy to perform the appropriate casting. I would still use the iCustomMapping interface for custom site columns.
Initial Hypothesis: Use a Parameters.xml file to get SPMetal to generate the proxy with hidden fields. You can use the IncludeHiddenColumns element within the ContentType element to include all hidden fields or as I have done in the resolution example, specify the fields to include using the element Column.
Resolution:
1.> Create a parameters.xml (name it for you specific project) and add it to the 14\bin directory.



4.> Add the query to show 1 of the hidden fields that is now part of your proxy.

Sharepoint 2010 jQuery - Hiding unnecessary columns in Calendar
I was working on a Training calendar project where i want to hide some predefined hidden field in Calendar list, i have done this in SharePoint 2007 but when i use the same java script in 2010 it doesn't work. So the following code snippet will be helpful for you guys.
You�ll need to do something similar to your EditForm.aspx:
- Enter edit mode on NewForm.aspx, by adding ?PageView=Shared&ToolPaneView=2 to your URL
- Add the Content Editor Web Part and move it to the bottom of the page
- Click on Source and enter the following text
01 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"type="text/javascript"> |
02 | <script type="text/javascript"> |
03 | $(function() { |
04 | $('td.ms-dttimeinput').hide(); //hides the times on Start Time |
05 | $('span[title=All Day Event] > input').attr("checked","checked"); // checks All Day Event |
06 | //hide all of the check-boxes I don�t need |
07 | $('tr:has(span[title=Recurrence])').not('tr:has(tr)').hide(); |
08 | $('tr:has(span[title=All Day Event])').not('tr:has(tr)').hide(); |
09 | $('tr:has(span[title=Workspace])').not('tr:has(tr)').hide(); |
10 | }); |
11 | |
- Enter edit mode the same way was above, leaving the ID=x and changing the �?� before PageView to an �&� (i.e. ../EditForm.aspx?ID=1&PageView=Shared&ToolPaneView=2)
- Add the Content Editor Web Part and move it to the bottom of the page
- Add the same jQuery code from above, but delete the first two lines in the function (since it�s already an All Day Event, there�s no need to set it, and the times will already be hidden)
- Enter edit mode the same way you did for EditForm.aspx
- Add the Content Editor Web part and move it to the bottom of the page
- Add the following code to the Source
1 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"type="text/javascript"> |
2 | <script type="text/javascript"> |
3 | $(function() { |
4 | //hide all of the check-boxes I don�t need |
5 | $('tr:has(td[id=SPFieldAllDayEvent])').not('tr:has(tr)').hide(); |
6 | $('tr:has(td[id=SPFieldRecurrence])').not('tr:has(tr)').hide(); |
7 | $('tr:has(td[id=SPFieldCrossProjectLink])').not('tr:has(tr)').hide(); |
8 | }); |
9 | |
Labels:
Sharepoint 2010
Subscribe to:
Comments (Atom)