Add ApplicationInsights to your O365 SharePoint sites
If you use ApplicationInsights in your SharePoint Apps you might also want to include it in all sites of the hosting web. You can do this by injecting the corresponding JavaScript using the client side object model (CSOM) and UserCustomActions. Go to https://portal.azure.com/ and open your ApplicationInsights-Application or create a new one. Go to “Quick start” – “Get code to monitor my web pages” and copy the code insight the script tags. Save the script to a JavaScript file and upload it to your O365 site (i.e. to /Style%20Library). Use the following PowerShell script to inject the JavaScript file without … Continue reading Add ApplicationInsights to your O365 SharePoint sites
Extend xSharePointAdministration Desired State Configuration (DSC) with custom resources
I’ve got a lot of positive feedback about the DSC module xSharePointAdministration – but there was not a lot of activity in git hub. The reason might be, that developers do not use PowerShell or DSC very often – and scripting guys and administrators do not use git hub. Also the learning curve for writing custom DSC resources is pretty hard. So I decided to give you a little jump start here. Write normal PowerShell scripts first Do not try to directly write your DSC resource. The debugging experience is not as good as it should be. Start by building … Continue reading Extend xSharePointAdministration Desired State Configuration (DSC) with custom resources
xSharePointAdministration Module – PowerShell Desired State Configuration (DSC)
Today I added the first version of the PowerShell Desired State Configuration (DSC) Module xSharePointAdministration to the Script Center. The module contains resources to configure and deploy SharePoint environments. The current version has only limited resources. I will add more resources in the near future since I have some projects that will build upon the module. The goal is to provision a complete SharePoint farm using DSC so that you can easily deploy it to different environments – either in the cloud or on premise – and avoid the configuration shift that normally takes place after some time between test, … Continue reading xSharePointAdministration Module – PowerShell Desired State Configuration (DSC)
How to get SharePoint developers to automate deployments
In every environment you need to automate the deployment process for SharePoint solutions – weather they’re sandboxed solutions, farm solutions or apps. But developers are lazy – and it’s so easy to click “Deploy” in VS that normally the deployment scripts are poorly tested. To get the developers to use and test the deployment scripts you have to integrate them in visual studio. If you use PowerShell scripts for your deployments and always place them in the same location this is pretty easy. You can add the scripts as “External Tools” and then add them to the context menu. To … Continue reading How to get SharePoint developers to automate deployments
Gartner sieht Microsoft als einen der Top Leader bei Software Testing
Gartner hat am 28. August seinen neuen Bericht Magic Quadrant for Integrated Software Quality Suites veröffentlicht. Microsoft ist mit dem TFS und VS wieder bei den Top Leadern dabei. Continue reading Gartner sieht Microsoft als einen der Top Leader bei Software Testing
SPEmulators v1.1.0 available
I just released the new Version (v1.1.0) of the #SPEmulators on nuget. The release contains the following changes: Support for test projects that target .net 4.5 (previous 4.5.1) Support for VS Premium with version 2012 Update 2 or higher (thanks to Tiliavir for the support) The assembly is now signed Added support to create lists by schema.xml and elements.xml to GetOrCreateList The last feature is quite experimental. There is support for fields (text, number, date, user, lookup) from schema.xml. There is also support for the basic properties in the elements.xml. I also added support for default data that is deployed … Continue reading SPEmulators v1.1.0 available
SPEmulators available on nuget
Every SharePoint developer that does TDD is desperately waiting for Microsoft to release a Version of the Microsoft.SharePoint.Emulators for SharePoint 2013. Unfortunately it seems that Microsoft does not have any plans to publish a new release in the near future. This is completely incomprehensible since there are a lot of SP2010 solutions that must be migrated to SP2013. To close the gap there is now the the nuget package SPEmulators. The source code is available in a repository on GitHub. Installation To install SPEmulators, run the following command in the Package Manager Console: Install-Package SPEmulators. You can also search for … Continue reading SPEmulators available on nuget
SPEmulators auf NuGet verfügbar
Eine lange Zeit nun warten die SharePoint-Entwickler auf eine neue Version der Microsoft.SharePoint.Emulators für SharePoint 2013. Leider scheint Microsoft aber in absehbarer Zukunft keine neue Version herauszubringen. Das ist völlig unverständlich, da es ja auch viele 2010er Lösungen gibt, die nach 2013 migriert werden müssen. Um die Lücke zu schließen gibt es jetzt das Nuget-Package SPEmulators. Der Code ist auf GitHub verfügbar. Installation Die Installation erfolgt wie immer per Package-Manager-Console mit dem Befehl: “Install-Package SPEmulators”. Alternativ kann über “Manage NuGet Packages” nach dem Paket gesucht werden. Ein Klick auf “Install” fügt das Paket dem aktuelle Projekt hinzu. Erstellen des ersten … Continue reading SPEmulators auf NuGet verfügbar
Import von Profilbildern aus einem Fileshare direkt in den SharePoint
Normalerweise ist der übliche Weg die Profilbilder direkt über das AD in den SharePoint zu snychronisieren: In manchen fällen ist das aber nicht möglich, da die Bilder nicht im AD vorgehalten werden sollen. In diesem Fall muss der Import dazu also direkt erfolgen: Bei einem Kunden ist der Fileshare sogar das führende System. Es wird also eine Synchronisation zwischen dem Fileshare und SharePoint benötigt. Das Passende Skript kann im Skript-Galerie heruntergeladen werden: http://gallery.technet.microsoft.com/scriptcenter/Sync-profile-pictures-from-c6d7608a Das Skript wird wie folgt aufgerufen: Folgende Parameter werden verwendet: -path: Der Pfad zu dem Fileshare -url: Die URL des MySite-Hosts -userProfilePropertyName: Der Name der Eigenschaft des … Continue reading Import von Profilbildern aus einem Fileshare direkt in den SharePoint
Agile Entwicklung mit TFS 2013 und der Scrum Prozessvorlage – Part 1
Der Microsoft Team Foundation Server 2013 zusammen mit Visual Studio unterstützt Sie bei der agilen Planung und Entwicklung einer Lösung mit Scrum. Ich zeige Ihnen die neuen Features und wie sie im Prozess eingesetzt werden können. Scrum ist der De-Facto-Standard bei den agilen Entwicklungsmethoden. In den Schulungen und Kursen wird immer noch viel mit Flipcharts und Whiteboards gearbeitet. Dies ist zwar sehr haptisch und mag pädagogisch sinnvoll sein – in der Praxis hat es aber mehr Nach- als Vorteile. So eignen sich Whiteboards nicht für die Verwendung in agilen Teams, die Archivierung ist nur bedingt möglich und eine langfristige Zuordnung … Continue reading Agile Entwicklung mit TFS 2013 und der Scrum Prozessvorlage – Part 1