Skip Ribbon Commands
Skip to main content
Home > Community > Blog | Collective Intelligence, Inc.
 The Collective
July 30
Potential Bad Patch for SharePoint: KB2844286

Have your clients installed this KB: KB2844286?

http://support.microsoft.com/kb/2844286 ​

(security update for the .NET Framework 3.5.1 on Windows 7 Service Pack 1 and Windows Server 2008 R2 Service Pack 1: July 9, 2013)

Issue Discovered: When this Service Pack is installed, any Pages/Views customoized in SharePoint and edited with SharePoint Designer will now be broken. "Unable to display this Web Part" **This is part of the updates to .NET Framework

Fix: Released July 25, 2013 (After installed this follow up patch, things are now working once again)

http://support.microsoft.com/kb/2872441

Technet Article: http://social.technet.microsoft.com/Forums/sharepoint/en-US/cc9a557b-93cd-40d5-965c-e0a2f107624d/unable-to-display-this-web-part-error-message-after-patch-kb2844286​

January 29
Save Time by Automatically Authenticating to SharePoint

I find that many small businesses still rely on the NTLM authentication protocol to authenticate to a wide variety of network resources.  The upside of this is that Microsoft products come easily configured in this manner, but can result in a lot of repetitive logon prompts that quickly become tedious for end users.  The following is a work around I have found for systems running Windows 7 or later where Kerberos or similar single sign-on solutions aren't available.

  1. Add your SharePoint site to your Intranet Security Zone in Internet Explorer. (http://support.microsoft.com/kb/174360)
  2. Add your Windows credentials, including domain name, to the Windows Credential Manager in relation to your SharePoint site.
    • EX: Internet or Network Address - ServerA; Username - domain\username; Password - [domain password]

From this point on all communications to that server via browser or from a desktop client such as Microsoft Word will be authenticated automatically based on the values in the Credential Manager.

* Keep in mind if your network password changes you will have to update your credentials in the Credential Manager.

January 17
Use Google Chrome to Quickly Search SharePoint
I recently became reacquainted with Google Chrome's ability to define custom search engines.  What this feature does is provide a search URL to your favorite sites with a placeholder for your search criteria.  A custom keyword can be specified to allow for quick access to the context from the address bar.  You can find more about Google Chrome Search Engines on their support site.
 
For example if I use the search box on our site I arrive at a URL that looks like this:
 
I would then copy and modify this to be used when setting up my custom Chrome search engine:
 
In this case I provided a descriptive name and a keyword shortcut of "cipub".  This allows me to type the following in the address bar and observe the response.
 
cipub sharepoint = CI-ChromeCustomSearch-Blog.JPG

which results in:

CI-ChromeCustomSearch-Results-Blog.JPG

December 05
Printer Friendly screen for List Items (Dataview)

Once you have your Dataview form put together and published to a List, go to the List page.

  

1. Click on the “List” tab under List Tools 

2. Click on the drop down arrow on the “Modify Form Webparts” button (pictured)

3. Select “(Item) Display Form”

4. This will take you to an edit page screen with your Infopath form set as a webpart 

5. Add a “Content Editor Webpart” to the page

6. Edit your new webpart’s source and paste in the following:

 
<script src="/scripts/WWD-slider/jquery-1.4.2.min.js" type="text/javascript"></script><script type="text/javascript">
 
$(document).ready(function()
 
{
 

$("#printBtn").click(function()

{
 
var htmlStr ="<html><head>"+$("head").html()+"</head><body>"+$("[id$='_XmlFormView']").html()+"</body></html>";
 
var PrintingWindow = window.open("about:blank","","toolbar,width=800,height=600,scrollbars,resizable,menubar");
 
PrintingWindow.document.open();
 
PrintingWindow.document.write(htmlStr);
 
PrintingWindow.document.close();
 
PrintingWindow.focus();
 
PrintingWindow.print();
 
});
 
});</script><input class="SearchButton" id="printBtn" type="button" alt="Print this page" value="Print"/>​

 

Note: <form> tags are not required

 

This adds a print button to the page that uses the default print call within a browser. Since we edited the “Display” form, the button will not appear if a user is editing the form or creating a new item.​

November 14
SharePoint Print Media

Remove the header and navigation areas from a printed SharePoint page by default, when you print a SharePoint page, the header and navigation areas print as well, which is typically undesired. This can be overcome by adding a few CSS statements to the master page or to the CSS file used by the website.

@media print
{
/*for SharePoint 2010 environment */
        #s4-titlerow, #s4-statusbarcontainer, #s4-topheader2 {
display:none; visibility: hidden; }
        #s4-leftpanel { display:none; visibility: hidden; }
        #MSO_ContentTable { margin: 0 0 0 0 }
/*for a SharePoint 2007 environment */      
        .ms-leftareacell,.ms-globallinks,.ms-siteaction,.ms-
areaseparatorleft,
        .ms-rightareacell,.ms-areaseparatorright, .ms-areaseparatorcorner,
        .ms-titlearealeft,.ms-titlearearight,.ms-searchform,.ms-banner,
        .ms-buttonheightwidth,.ms-buttonheightwidth2
        {
                display:block;
                visibility:visible;
        }      

        /*  This hides header and quick navigation */
        .ms-globalbreadcrumb { display:none; visibility: hidden; }
        .ms-globalTitleArea { display:none; visibility: hidden; }
        #nav-wrapper { display:none; visibility: hidden; }
        .ms-titlearealeft { display:none; visibility: hidden; }
        .ms-navframe { display:none; visibility: hidden; }
        .ms-nav { display:none; visibility: hidden; }
          /* move content to the left */
        .ms-bodyareacell, #above-main { margin: 0 0 0 0 }
         /* fonts normalization */
        .ms-formbody { font-size: xx-small}
         /* remove the actions buttons */
        .ms-toolbar { display:none; visibility: hidden; }
       /* expanding edit form controls on the width of the screen */
        #onetIDListForm  { width: 100%; }
       .ms-formlabel { width:20% }
       .ms-formbody {  width: 80%; }
       .ms-long { width: 100%; }
       .ms-rtelong { width: 100%; height: 400px; }
       .ms-rtetoolbarmenu { width: 100%; text-align: left; }
       TEXTAREA.ms-long { width: 100%; }
       .ms-formbody SPAN SPAN DIV { width: 100%; }
}

October 23
Adding Adobe PDF icon to SharePoint File Association

​In order to get the PDF icon to display, rather then the blank document icon, perform these tasks

The following needs to be done on all SharePoint web / app servers:
  1. Downloaded the newest iFilter pack from Adobe
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
  2. Downloaded the Adobe PDF icon (Small 17 x 17) http://www.adobe.com/misc/linking.html
    icpdf.gif
  3. Place the icon in the _Layouts/Images Folder
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES

  4. Edit the DOCICON.xml located:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML

  5. Scroll to the <ByExtension>, and Insert this near the PNG Key
    <Mapping Key="pdf" Value="pdficon_small.gif" />

  6. Add the .pdf file type to the SharePoint content index
  • Click Start, type regedit in the Search programs and files box, and then press Enter
  • Locate the following registry key:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension

  • Right-click Extension, click New, and then click Key
  • Type .pdf, and then press Enter
  • Click Modify
  • ​Type the following GUID in the Value data box:

  • {E8978DA6-047F-4E3D-9C78-CDBE46041603}

  • Exit Registry Editor
  1. Add pdf to the Search Service File Type
    1. Search Service Application
      1. File Types
      2. Click “New File Type"
      3. Type in pdf
      4. Click OK

  2. Last step is to perform an IISRESET /Noforce​

  3. Repeat these steps on all Web/App Servers
October 15
Time to Upgrade to SharePoint 2010

If your company has been on the fence about upgrading their Microsoft Office SharePoint Server 2007 farm to SharePoint Server 2010.  The following may be evidence enough to push for an upgrade.

As of 10/9/2012, Microsoft has ended Mainstream Support for Microsoft Office SharePoint Server 2007.  There still will be extended support available until 2017. 

Do you have a plan to upgrade? Contact Us Today, Collective Intelligence will help make your upgrade as seemless as possible.


Products
Released
Lifecycle Start Date Mainstream Support End Date Extended Support End Date ​Service Pack Support End Date Notes
SharePoint Server 2007    1/27/2007 10/9/2012 10/10/2017 1/13/2009
SharePoint Server 2007 Service Pack 1 12/11/2007 N/A N/A 7/13/2010
SharePoint Server 2007 Service Pack 2 4/28/2009 N/A N/A 1/8/2013
SharePoint Server 2007 Service Pack 3 10/25/2011 Review Note Review Note

Support ends 12
months after the next
service pack releases
or at the end of the
product's support lifecycle, whichever comes first.

 

Enjoy some of our favorite new features in SharePoint 2010!

  • New User Interface - The Ribbon
  • Rich and Improved Theming
  • Multiple Browser Support (Chrome, Firefox)
  • SharePoint Workspace
  • Sandboxed Solutions
  • Windows PowerShell 2.0
  • Business Connectivity Services (BCS)
  • Enhanced SharePoint Designer 2010
  • SharePoint Health Analyzer
  • Developer Dashboard
  • Plus More...

Click Here for SharePoint 2010 Overview from Microsoft

June 22
SharePoint Breadcrumb

You probably noticed SharePoint 2010 has changed their breadcrumb, they now use the 'navigate up' feature, which is useful to advanced users, but mostly overlooked by end users.

navigateup.png 

You can re-use the MOSS 2007 breadcrumb site map provider, by copying the SiteMapPath from either a 2007 master page or the 2010 default.master.

<asp:SiteMapPath SiteMapProvider="SPContentMapProvider" id="ContentMap" runat="server"/>​

The above code snippet will display the 2007 breadcrumb, there still is one issue with this breadcrumb, it looks normal, but its showing pages > default, lets get rid of the extra garbage.

bcsite.png
If you change the sitemapprovider to CurrentNavSiteMapProviderNoEncode, this will produce a simple breadcrumb without the trailing pages > default

Final breadcrumb snippet:

<asp:SiteMapPath SiteMapProvider="CurrentNavSiteMapProviderNoEncode" id="ContentMap" runat="server"/> 
bccurrent.png
If you would like to hide the original 2010 'nagivate up' breadcrumb, add this simple CSS style.

.s4-breadcrumb-anchor {
display:none;
}​​

Hope this helps.


June 22
SharePoint 2010 - Disabling Mobile View

When launching a public facing SharePoint deployment, there are times where the client does not want a mobile view, at least not for this phase.  After trying several different methods, I have noticed by adding a browser cap to the web.config, works like a charm.

on the SharePoint webserver, browse to the web.config

  • ​C:\inetpub\wwwroot\wss\VirtualDirectories\[sp site\Port#] 
  • Open up web.config
  • Find system.web
  • Insert the following three lines of directly after system.web
<browserCaps> 
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<filter>isMobileDevice=false</filter>
</browserCaps> ​

  • Save the web.config
  • Perform an IISreset
  • Browse the full SharePoint website on a mobile device


February 21
InfoPath forms redirect after submission
After creating several infopath forms... I needed a method to redirect the users back to the sharepoint homepage rather then sending them to the allitems page. In certain situations, you may only want an admin or supervisor to view the List items, not normal users. So I discovered this url method
&Source=http://sharepoint-landing/Pages/Default.aspx
You will need to place this snippet directly after the first XsnLocation=http... and directly before &SaveLocation=http... The final URL should look something like this (minus the <br>)
http://sp/Pages/Infopath/_layouts/FormServer.aspx?XsnLocation=http://sp/Pages/Infopath/Form.xsn &Source=http://sharepoint-landing/Pages/Default.aspx &SaveLocation=http://sp/Pages/Infopath/Forms &Source=http://sp/Pages/Infopath/AllItems.aspx&DefaultItemOpen=1
​**NOTE: Redirects can only occur within the same site collection.
1 - 10Next