Tuesday, January 22, 2013

SharePoint Navigation (dropdown) IE Issues

Our SharePoint 2007 site is having problems displaying the dropdown menu options.  What I've found so far...

One Site's Suggestion:
Not sure if i've been having a problem with the same type of menu's but under 'Tools>Manage add-ons>Toolbars and Extensions' I had something called "NameCtrl Class" set to ENABLED. Once i disabled this my menu's started working again.

Prior to finding this i had played around with all my security settings (which had since been reset back to default) and played around with a bunch of other feature's in IE9 (again set back to the way they were). But if i flip the above back to ENABLED my menu's stop working again.

The extension is listed under "Microsoft Corporation" in the list, so I think it came from a windows update, but I haven't researched it so I don't know what it is or what it does.

Hope this helps.

Edit:

Before anyone mentions how it's silly to just disable something without knowing what it does.

NameCtrl class is an ActiveX control that will "Display presence information for people, integrating with Outlook (mail, calendar) and Communicator (instant messaging)". Now that i know this, I'm wondering if there is a correlation between this and MS Office 2010 having been installed around the time i noticed my menu's stop working.

Another Site:
Could you please fix IE 9.0! When I use IE 9.0 (x32) on WIndows 7 to view SharePoint (Enterprise Edition) pages (any page), I see that the IE 9 memory process grows by about 6 MB everytime I refresh the page or navigate to a new page. Since I work with clients that spend a lot of time on the SharePoint pages that I build for them, it means that local machine memory consumption goes up rapidly (100 clicks --> .6GB !) and they believe that SharePoint is slow and causes the browser to crash frequently.
I have done quite a bit of research on this issues and have concluded that the culprit is IE 9.0 (x32), most likely the add-in "NameCtrl Class."

Monday, January 21, 2013

Dll's on SharePoint Server to Reference

Was looking for Microsoft.Office.Server.UserProfiles.dll and found other SharePoint dll's as well here:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\

Friday, January 11, 2013

SharePoint Metadata Feature

To use managed metadata and term stores you have to enable this feature through PowerShell per site collection:

Enable-SPFeature -id “73EF14B1-13A9-416b-A9B5-ECECA2B0604C” -Url <SiteURL>

Then you will see the "Term Store Management" link in the Site Settings > Site Administration column.

Limit chars displayed in SharePoint List View

Here's how to do it, and yes it's a little complicated:

First, create a single-line text column, I'll call it Content

Second, create a calculated column, I'll call it ContentCalc, set the formula to =[Content]

Third, delete the first column Content, then recreate it as a multi-line text column

Fourth, create a third column, I'll call it Summary, and set the formula to =LEFT([ContentCalc],60)&"...", with 60 being any number of chars you want to truncate it to and it will be followed with "..." to indicate there is more text.

Finally, to get rid of the stuff, insert the following source into a Content Editor Web Part placed under the list hidden on the page:

<script type="text/javascript"> var theTDs = document.getElementsByTagName("TD"); var i=0; var TDContent = " "; while (i < theTDs.length) { try { TDContent = theTDs[i].innerText || theTDs[i].textContent; if (TDContent.indexOf("<div") == 0) { theTDs[i].innerHTML = TDContent; } } catch(err){} i=i+1; } </script>

Related Link