Pop-up modal window SP2010

Code for adding pop-up links to list items and to Library items. Full Code For a List Item:  Full Code for a Library Item:  Source: http://erikswenson.blogspot.dk/2010/09/how-to-create-hyperlink-to-modal-pop-up.htm

Create link to new folder and item actions in modal window in SharePoint 2013

Create link to “New Item” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/_layouts/15/Upload.aspx?List={<List-GUID>}&RootFolder=&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);”>Add item</a> Create link to “New Folder” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/Forms/Upload.aspx?RootFolder=&Type=1&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);” >New Folder</a>

Pop-up modal window SP2013

Simple javascript command to open the dialog modal form function OpenPopUpPage(url, callback, width, height) function OpenPopUpPageWithTitle(url, callback, width, height, title) function OpenPopUpPageWithDialogOptions(dialogOptions) DialogOptions supports: Options Property Description title A string that …

Read more

PowerShell – Create MySites for all users

I found this script to be the most effective for creating MySites in advance for all users. Source: http://gallery.technet.microsoft.com/office/Pre-Provision-SharePoint-ec781ee9

Clear SharePoint Designer Cache

It can happen that SharePoint Designers local files gets out-of-sync. For some reason hitting the update button won’t help. Easy fix: Delete the local cache by deleting the contents of …

Read more

Import user profile pictures to SharePoint using PowerShell

Best solution to create Automatic UserProfile Import to SharePoint Create folder “ImportProfileImages” Create subfolder “ProfileImages” Create “c:\SPSolutions\ImportProfileImages\UpdateUserProfiles.ps1” with the code from SharePoint Use Cases Create “c:\SPSolutions\ImportProfileImages\RunUpdateUserProfiles.ps1” with this code: Save …

Read more