Posts Tagged ‘SharePoint’

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:

forums.adobe.com

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:
http://blog.creative-sharepoint.com/2012/02/sharepoint-2010-2-simple-steps-to-fixing-scrollbar-issue-in-google-chrome/

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”

pause

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

Original:

neelb.wordpress.com

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\

Original:

blog.drisgill.com

Hide ribbon for Visitors – Using Javascript

This requires you to modify your masterpage just a bit. It's minimal.

In your masterpage, find id="s4-ribbonrow" and add this to it:

style="display:none;"

Then add this after where that div ends

<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="FullMask">
<script type="text/javascript">
document.getElementById("s4-ribbonrow").style.display = "block";
</script>
</Sharepoint:SPSecurityTrimmedControl>

Your result should be something like this:

<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none;">
...
</div>
<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="FullMask">
<script type="text/javascript">
document.getElementById("s4-ribbonrow").style.display = "block";
</script>
</Sharepoint:SPSecurityTrimmedControl>


This will only allow users with Full Control to see the Ribbon.

Original:

sharepoint.stackexchange.com

Return top