Monday, December 16, 2013

Site Policy Sharepoint 2013

For the option Site Policy to appear under Site Settings -> Site Collection Administration you need first to activate the feature "Site Policy" in the site collection feature.

Wednesday, December 11, 2013

Change the RBSEL and RBUNSEL images in Sharepoint via CSS

Source: http://web.haroldliles.com/wordpress/?p=91

How to add flash to a share point page using flow player

Add this script to the content editor webpart Code Editor:

<script type="text/javascript" src="/videos/flowplayer-3.2.12.min.js"></script>
<a href="/Videos/Hello.flv"  style="display:block;width:520px;height:330px" id="player"> </a> 
<script>
flowplayer("player", "/videos/flowplayer-3.2.16.swf");
</script>

In the source library add the files:
flowplayer-3.2.16.swf
flowplayer-3.2.12.min.js
flowplayer.controls-3.2.15.swf

Tuesday, December 10, 2013

How to change Message size restriction on CSOM file upload (Sharepoint 2013)


How to change Message size restriction on CSOM file upload (Sharepoint 2013)

When I am uploading a file bigger than 2 MB with CSOM to a Sharepoint 2013 list i get the following error:

 "The request message is too big. The server does not allow messages larger than 2097152 bytes."

To change the limit to 5 MB you need to open the powershell and:

$ws = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ws.ClientRequestServiceSettings.MaxReceivedMessageSize = 5242880
$ws.ClientRequestServiceSettings.MaxParseMessageSize  = 5242880
$ws.Update()

Like all good recipes finish with a iisreset :)

Source: http://social.technet.microsoft.com/Forums/en-US/e7bc48bc-299e-4977-a8bf-e31b99f24d2f/message-size-restriction-on-csom-file-upload?forum=sharepointdevelopment