Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

December 2012

SPRelinkDocuments – PowerShell Remix

I adapted the C# WinForm code from http://sprelinkdocuments.codeplex.com/ to a PowerShell command line version.   Why?   More automation such as:

 

  • Include in migration scripts (Backup-SPSite, update XSN template, relink all documents, …)
  • Task Scheduler
  • Remote execution (don’t need to RDP)
  • Long duration execution  (many RDP systems log out for inactivity)
  • Progress Bar shows % complete

 

Please feel free to download below.   Hopefully this helps other people too. 

Smile

  Download  SPRelinkDocuments.ps1

 

InfoPath 2013 – Missing Programmability Components (FIXED)

I came across the below error when trying to add C# code with InfoPath Designer 2013.   The MS Office client install does not offer a checkbox for VSTA anymore to install everything at once.  Instead developers need to go download those tools separately.  Oh, but the fun continues because I also needed Dot Net Framework 4.5 and Visual Studio 2012 installed.

After installing all three and running a Repair then I was finally able to write C# from InfoPath.  Whew!  Not as simple as the Office 2010 installer.

 

  1. Microsoft Visual Studio Tools for Applications 2012
  2. Microsoft .NET Framework 4.5
  3. Microsoft Visual Studio 2012
  4. Repair VSTA from Control Panel

 

image

 

image
image
image
image
image
image
image

 

BTW – All of the purple icons are confusing.   InfoPath?  OneNote?  Visual Studio?   Who knows!  

Smile
image

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲