Posts Tagged ‘2010’

SharePoint check-in/out prompt for PDF Files

Newer versions of Adobe Reader (X) have a SharePoint Integration feature set.  Part of this integration involves a check in/out prompt when clicking on a PDF file located in a SharePoint Library.

Even if the library itself does not have "check out" enabled, Adobe will prompt the user to either "Open" the file or "Check Out and Open" the file.  

Adobe - SharePoint 2010 Integration

The rub is that even when this feature is NOT enabled in the library itself, if a user clicks "Check out and Open", the file will be checked out in the SharePoint Library!!!  Adobe Reader DOES have an option to Check In, buried in the File menu.  But who is ever going to see or do that?  It's more of an annoyance that anything, at least for my environment, since PDF files typically cannot be edited anyways…

Currently, there is no direct fix for this.  The only option is to disable the Adobe Sharepoint Integration entirely (in the client Registry), which is not very attractive for a number of reasons.


Add this to the list of even more reasons not to like Adobe Reader.  Read more here:

Disappearing SharePoint Scrollbar in Chrome Browser

In some cases, usually after making customization to various code in a SharePoint masterpage, the scrollbar may disappear on SharePoint sites in Chrome.

To fix, look for the following code:

<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
Replace that line with the following line:
<body scroll="no" class="v4master"> <script type="text/javascript">$(document).ready(function() {if (typeof(_spBodyOnLoadWrapper) != 'undefined') {_spBodyOnLoadWrapper();} });</script>

That's it!

Original Source:

Note:  this appears to disable features in the ribbon. Work in progress issue…

Clear Sharepoint Cache

After learning to clean the sharepoint cache hardway, I have come up with basic commands, that would help all of who needs to get this done in easier way, below is the script, you can cut and paste it on to a notepad, save the file as clearSPCache.bat file and place it on the sharepoint server, when you execute the file, it will clean the sharepoint cache for you with one click. (assuming your sharepoint is installed in default locations as per microsoft).

========Script Start below===================

cd “%APPDATA%\Microsoft\Web Server Extensions\Cache”

del *.web /S /Q “%APPDATA%\Microsoft\Web Server Extensions\Cache”

cd “%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\”

rmdir /S /Q “%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\.”

mkdir “%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache”

dir “%APPDATA%\Microsoft\Web Server Extensions\Cache”
dir “%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache”


========Script End========================


Change Favicon in SharePoint 2010

The easiest way to change your favicon in SharePoint is to replace the default one with your own.

You can find this, among many other default files, here:

\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\


Hiding View All Site Content and Recycle Bin in SharePoint 2010

Look for the following element in the MasterPage code:

<SharePoint:UIVersionedContent UIVersion="4" runat="server" id="PlaceHolderQuickLaunchBottomV4">
<ul class="s4-specialNavLinkList">

Above the bold section, add the following line of code:

<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ManagePermissions">

Change the blue PermissionsString value to whatever you want. Multiple permissions can be separated with a comma (no spaces). Note it should be a permission your target user(s) do not have, and has to come from this list. Spelling and case-sensitivity is important. Finally, add the closing tag after the SharePoint:UIVersionedContent closing tag:



Return top