sábado, 9 de novembro de 2013

How to get size of your SharePoint site

In MOSS2007 we can get to the STSADM by opening windows command prompt and changing directory to:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN
In SharePoint 2010 we can find this at location:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
Now to get the size of your site type the following command on the prompt:
STSADM.exe -o enumsites -url http:// <sitename>
It will display the size of your site under the tag “StorageUsedMB”.

Source: www.mindfiresolutions.com/How-to-get-size-of-your-SharePoint-site-1505.php

Sharepoint PDF files are not opening in Browser

Scenario tested sucessfully:
Sharepoint 2010
Adobe Reader XI
Internet Explorer 10
For the server side you can follow the instructions described in this link:
To avoid setting the Browser Handling File to Permissive (this is not recommended for security issues), you can execute this command in PowerShell:
$web=Get-SPWebApplication -Identity <WebApplication>
$web.AllowedInlineDownloadedMimeTypes.Add(“application/pdf”)
$web.Update()
For the client side you have to DISABLE the Add-on “Adobe Acrobat Sharepoint OpenDocuments Component” and ENABLE the “Adobe PDF Reader” in Internet Explorer, in the client machine.
Obs: The add-on Adobe PDF Link Helper doesn’t metter in this case.