Tuesday, January 26, 2016

SharePoint Upgrade

SharePoint 2016 Upgrades

 
SharePoint Server 2016 TechNet (Explore - Plan - Install - Config)
https://technet.microsoft.com/en-us/library/cc303422(v=office.16).aspx
Upgrade from SharePoint 2013 to SharePoint Server 2016
https://technet.microsoft.com/en-us/library/cc303436(v=office.16).aspx

New and improved features in SharePoint Server 2016
https://technet.microsoft.com/en-us/library/mt346121(v=office.16).aspx
What's deprecated or removed from SharePoint Server 2016
https://technet.microsoft.com/en-us/library/mt346112(v=office.16).aspx
 

SharePoint Upgrade Gotchas


After taking your site collection inventory Look for and double check!
  • List or Site Templates
  • Custom Web Parts
  • Custom Solutions
  • Large Lists
  • Documents NOT Checked-In (admins unable to see those documents)
  • Orphaned Items
  • Workflows

SharePoint Cleanup Due to Change

  • List or Site restructure
  • Site Reorganization due to content growth or business restructure
  • Workflows and Process
  • Search and eDiscovery
  • Navigation
  • Regulations and Compliancey
  • Reapply Branding

SharePoint Review

  • Site Structure
  • Views
  • Navigation
  • Metadata
  • Search
  • Workflow

2013 Upgrades

Upgrade databases from SharePoint 2010 to SharePoint 2013

https://technet.microsoft.com/en-us/library/cc303436.aspx

What might not work so well after a SharePoint migration to 2013
http://en.share-gate.com/blog/not-working-after-sharepoint-migration-to-2013

Transition Steps – Making the Old New Again!
Old Create Content Screen  http://site collection/_layouts/15/create.aspx
image
Upgrading to SharePoint 2013: The Planning Starts Nowhttp://sharepointpromag.com/sharepoint/upgrading-sharepoint-2013-planning-starts-now
Services upgrade overview (2013 2010)
http://technet.microsoft.com/en-us/library/ee731990.aspx


 

2010 Upgrades


More from The Cloud Engineer
Fab 40 Issues
http:/thecloudengineer.blogspot.com/2011/07/fab-40-support.html
Compare
http://thecloudengineer.blogspot.com/2011/08/sharepoint-2007-good-info-here.html


More from the Web
Upgrade Cookbook
http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2010/11/02/sharepoint-2010-cookbook-migrate-a-sharepoint-2007-site-to-sharepoint-2010.aspx

Enjoy this SharePoint series
http://www.endusersharepoint.com/EUSP2010/2010/03/17/life-is-just-a-bowl-of-sharepoint-%e2%80%93-part-1-introduction/

Plan for future upgrades (now 2013)

SQL Server 2005 db to SQL 2008 express on the new SharePoint 2010 server
http://stackoverflow.com/questions/5066238/migrate-sharepoint-2007-to-2010

Upgrade to SQL 2008 R2 Express
http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=200

Thursday, January 14, 2016

SharePoint Designer 2013

Control via Permissions

https://blogs.msdn.microsoft.com/kaevans/2011/07/11/control-access-to-sharepoint-designer/

Control via SharePoint Designer Settings Page

http://www.sharethepoint.com/sharepoint-designer-its-all-about-control/

https://redmondmag.com/articles/2015/03/19/sharepoint-designer-tool.aspx

Custom Code

http://www.ktskumar.com/2016/03/enable-disable-sharepoint-designer-access-to-site-collection/

http://www.sharepointdiary.com/2011/05/how-to-disable-sharepoint-designer-in-sharepoint-2010-moss-2007.html

External Content Type

Creating an External Content Type with SharePoint Designer 2013
http://lightningtools.com/bcs/creating-an-external-content-type-with-sharepoint-designer-2013/

How to: Create External Content Types (2010)
https://msdn.microsoft.com/en-us/library/office/ee557704(v=office.14).aspx

Data Source

for 2010 (but ok for 2013) as per this post from technet
https://support.office.com/en-us/article/Add-a-database-as-a-data-source-3A563B0C-75E4-4856-847F-9A8182708C66

http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/09/24/how-to-create-data-sources-using-sharepoint-designer-2013-part-i.aspx

2007 method
https://support.office.com/en-us/article/Add-a-database-as-a-data-source-c35c22e0-c178-4903-9e64-1c171a74fef7

You can still use SPD2010 on SP13? YES!
http://365.webbrewers.com/blog/Lists/Posts/Post.aspx?ID=25
Forum SPD2010 on SP2013
http://sharepoint.stackexchange.com/questions/73829/how-to-edit-sharepoint-2013-sites-in-sharepoint-designer-2010

Download http://www.microsoft.com/en-us/download/details.aspx?id=30346

First Look
image

Surprised that there is no design view – you are not alone http://social.technet.microsoft.com/Forums/en-US/sharepointitpropreview/thread/8f8e2cb3-a90f-4653-9d22-050f9f0d8612

End of Life on Expression Suite
com/information-technology/2012/12/microsoft-killing-off-expression-suite-of-web-and-design-tools/

Appendix

Web HTML

http://www.whatwg.org

http://caniuse.com

CSS

http://realworldcss3.com/resources

http://www.csszengarden.com/

Wednesday, November 25, 2015

Search Tips

Google Tips by Peyton Hall

At www.google.com Type Zerg Rush

image

Go to http://googleloco.net/ or Type Google Loco and click on the first two links

image

On www.google.com Type Do A Barrel Roll

image

On images.google.com type atari breakout

Wednesday, November 18, 2015

Create PowerShell ISE Enabled for SharePoint

2013

Are you tired of typing in …

Add-PSSnapin Microsoft.SharePoint.PowerShell

How to Add PowerShell cmdlets for Sharepoint to ISE

Note that if you are using SharePoint 2013 running on Server 2012 use the following updated steps

Start by making sure ISE is loaded

(HINT) Get-WindowsFeature will display entire list

image

If ISE is not added then add by

Running powershell as local administrator

import-module servermanager
add-windowsfeature powershell-ise


image
Note that in this example it is already loaded.

Create ISE Profile

Now you need to create a profile (this has changed)

image

To create a profile for the current user use:

if (!(test-path $profile ))
{new-item -type file -path $profile -force}

To edit the new profile use:

psEdit $profile

image

Then type the following in the ISE Scripting Pane and click Save.

add-pssnapin microsoft.sharepoint.powershell

Test ISE with SharePoint commands

Close/Open ISE and give it a test, now you have ISE enabled with SharePoint

image

image

Technet Reference

To create a new profile you need to decide from one of 4 scenarios listed below.

To create a new “Current user, Windows PowerShell ISE” profile, run this command:

if (!(test-path $profile ))
{new-item -type file -path $profile -force}

To create a new “All users, Windows PowerShell ISE” profile, run this command:

if (!(test-path $profile.AllUsersCurrentHost))
{new-item -type file -path $profile.AllUsersCurrentHost -force}

To create a new “Current user, All Hosts” profile, run this command:

if (!(test-path $profile.CurrentUserAllHosts))
{new-item -type file -path $profile.CurrentUserAllHosts -force}

To create a new “All users, All Hosts” profile, type:

if (!(test-path $profile.AllUsersAllHosts))
{new-item -type file -path $profile.AllUsersAllHosts-force}

To edit a profile

  1. To open the profile, run the command psedit with the variable that specifies the profile you want to edit. For example, to open the “Current user, Windows PowerShell ISE” profile, type: psEdit $profile
  2. Add some items to your profile. The following are a few examples to get you started:
    • To change the default background color of the Console Pane to blue, in the profile file type: $psISE.Options.OutputPaneBackground = 'blue' . For more information about the $psISE variable, see The ISE Scripting Object Model.
    • To change font size to 20, in the profile file type: $psISE.Options.FontSize =20
  3. To save your profile file, on the File menu, click Save. Next time you open the Windows PowerShell ISE, your customizations are applied.

 

2010

So you want to use the ISE with SharePoint.  First add ISE feature then create a new profile by completing the following steps:

ADD ISE
Running powershell as local administrator

import-module servermanager
add-windowsfeature powershell-ise

(HINT) Get-WindowsFeature will display entire list

ADD Profile
Running powershell as sharepoint administrator
Powershell_ISE
Test-Path $profile (if true jump to Open ISO Profile step below)
New-Item $profile -ItemType file –Force
 
Close current untitled ps1 and open new file created
Open ISE Profile > Open > look in documents for microsoft.powershellies_profile.ps1

add-pssnapin microsoft.sharepoint.powershell

Save File and test by closing ISE and relaunch

(HINT) get-psnapin to display that have been added
(HINT) get-psnapin -registered to display all but ...

Give access to DB use the following powershell from a privileged user shell

$spcdb = get-spcontentdatabase wss_content_intranet
Add-spshelladmin -username contoso\sp_admin -database $spcdb


Reference - Scripting Wife - ISE Profiles
http://blogs.technet.com/b/heyscriptingguy/archive/2011/09/13/the-scripting-wife-creates-a-powershell-ise-profile.aspx

http://blogs.msdn.com/b/kaevans/archive/2011/11/14/add-microsoft-sharepoint-powershell-snap-in-to-all-powershell-windows.aspx

Thursday, November 12, 2015

Codeplex


Check out these cool resources from CodePlex

Tested

Installation
https://autospinstaller.com/ (new)
http://autospinstaller.codeplex.com/

Client Browser
http://autospsourcebuilder.codeplex.com/

SharePoint Client Browser for SharePoint Online and SharePoint on-premise
https://spcb.codeplex.com/

SharePoint 2013 Search Query Tool
http://sp2013searchtool.codeplex.com/

Great Tools from Scott Brickey (Fellow Cincy / Tri-State SPUG member)
http://sdssharepointlibrary.codeplex.com

Workflow Extensions
http://spdactivities.codeplex.com/

Enable Meeting Workspaces in SharePoint 2013
http://sharepointmws.codeplex.com/

 

Suggested

Scan documents from scanners attached directly to the server
http://embdocumentinhalator.codeplex.com/ SharePoint Manager -  browse every site on the local farm and view every property.
http://spm.codeplex.com/

Warm-up Scripts
http://blogs.technet.com/b/praveenh/archive/2013/03/12/sfsgfasg.aspx SP Wakeup - A simple application that touches each site and site collection on a SharePoint or WSS server to rebuild the IIS cache.
http://spwakeup.codeplex.com/releases/view/52800

Master Page Picker
http://spfmasterpageselect.codeplex.com/
http://blog.thedesigndrifter.com/?p=1112 Information or Reference Scot Hillier Presentations
http://hillier.codeplex.com/

Wednesday, November 4, 2015

Displaying XML in SharePoint

So you need to display XML on your page.  Using OOTB tools here is a simple method to display XML in SharePoint 2013

image

Using the demo xml from w3schools

http://www.w3schools.com/xml/xml_xsl.asp

Copy and paste into file … breakfast.xml

<?xml version="1.0" encoding="UTF-8"?>
<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>$5.95</price>
<description>Two of our famous Belgian Waffles with plenty of real maple syrup</description>
<calories>650</calories>
</food>
<food>
<name>Strawberry Belgian Waffles</name>
<price>$7.95</price>
<description>Light Belgian waffles covered with strawberries and whipped cream</description>
<calories>900</calories>
</food>
<food>
<name>Berry-Berry Belgian Waffles</name>
<price>$8.95</price>
<description>Light Belgian waffles covered with an assortment of fresh berries and whipped cream</description>
<calories>900</calories>
</food>
<food>
<name>French Toast</name>
<price>$4.50</price>
<description>Thick slices made from our homemade sourdough bread</description>
<calories>600</calories>
</food>
<food>
<name>Homestyle Breakfast</name>
<price>$6.95</price>
<description>Two eggs, bacon or sausage, toast, and our ever-popular hash browns</description>
<calories>950</calories>
</food>
</breakfast_menu>

Copy and paste into file … breakfast.xslt

<?xml version="1.0" encoding="UTF-8"?>
<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE">
<xsl:for-each select="breakfast_menu/food">
<div style="background-color:teal;color:white;padding:4px">
<span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
<xsl:value-of select="price"/>
</div>
<div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
<p>
<xsl:value-of select="description"/>
<span style="font-style:italic"> (<xsl:value-of select="calories"/> calories per serving)</span>
</p>
</div>
</xsl:for-each>
</body>
</html>

Now using SharePoint upload both files to a document library

image

Copy the shortcut for the xml file

image

Using the XML Viewer Web Part

image

Edit the web part

image

and paste the URL to the XML file then do the same for the XSLT file and click ok to save your settings

image

Vola …

image

Reference from Microsoft

https://support.office.com/en-US/article/Use-the-XML-Viewer-Web-Part-to-display-structured-data-and-XML-based-documents-and-forms-00D6ED40-BD73-4754-B869-0477A034BCFD