Friday, May 29, 2015

Move SharePoint documents and save it's unique URL , Create shorten URLs GUIDE

A guide with steps for how to create a unique URL for documents even the document is moved to another location in the site collection the users still can reach these documents using it's URL by activating Document ID featuer.Use this featuer to create shoren URL for SharePoint pu

thanks to Mr Wael Mohamad

 download the guide from here.

Wednesday, May 27, 2015

SharePoint 2010-Configure Pass Through Authentication (Firefox)

How to configure Mozilla Firefox to allow your network username and password to be automatically set to a website. 
The procedure in this article will only work for SharePont 2010 sites if your computer is joined to the UCHAD or ADLOCAL Active Directory domains and the SharePoint site is configured to accept NTLM authentication. To do so:

1. Type about:config and either hit the Enter key on the keyboard or the Go button next to the address bar.

 2. On some computers the warning below may appear. The title about voiding your warranty is amusing on purpose, but the warning is legitimate. Click the I'll be careful, I promise button.
3. Type NTLM in the filter box of the configuration window. Depending on the version of Firefox you are using, you will see 3 or 4 results. Double-click the NETWORK.AUTOMATIC-NTLM-AUTH.TRUSTED-URIS entry to open the Enter string value window.

 4. Enter the portal URL that you wish to access and click OK. You can enter multiple addresses separated by commas.


Enjoy firefox !

Thursday, May 7, 2015

Workflow Attach Document to an Item

Can you use a SharePoint workflow to attach a document to an item?
YES!!!
What do you need to make this happen?
SharePoint Designer
ILove SharePoint actions from codeplex.

On the server(s) that your web app is running, you will need to modify the PowerShell execution policy.
set-executionpolicy Unrestricted (Check this link for more info)


In SharePoint Designer add the Execute PowerShell Script action.
Click Script and add the PowerShell script below (make the needed changes to reflect your URL)
Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

$web = Get-SPWeb "http://sharepointed.com/subsite/"
$filePath = "http://sharepointed.com/subsite/docs/taco.docx"

$spList = $web.lists["Your List or Library Name Here"] 
$item = $splist.GetItemById([*Add the workflows Current Item:ID here*])
$file = $web.GetFile($filePath).OpenBinary()

$item.Attachments.Add($filepath, $file)
$item.Update()

$web.Dispose()
 
$web = the site you are wanting to work with.
$filePath = file path to the document you are wanting to attach to the item that triggered the workflow.
$spList = List that contains the item we are attaching the document to.
$item = $splist.GetItemById() clear out the text between the (), in here you ware wanting to place ID of the item that triggered the workflow. This will tell the PowerShell script what item we are attaching the document to.

So simple yet effective!

Increase Storage Limit for One My Site User (Sharepoint 2010)

Increase Storage Limit for One My Site User (Sharepoint 2010)
Out of the box, the storage allocation for My Sites is real small (100 MB). In SharePoint 2010 and SharePoint 2007 you can increase the storage limits for each My Site.
In SharePoint 2010:
Central Admin > Application Management > Configure quotas and locks
First select the My Site Web Application, then select the users My Site you want to edit.
In the Site Quota Information section, change Current quota template to Individual Quota, then change Limit site storage to a maximum of: ___ to your new value.
You can also set the Send warning e-mail when site storage reaches value to remind the user they are running low on space.
Click OK, and you are ready for more storage.