On Saturday June 20th, 2015 I’ll be speaking at SPSFlorence. This is the first SharePoint Saturday’s event in Florence and I’m honored to be part of the show. As far as I know SPSFlorence will be the first SharePoint related event in Italy with such an international target, most of the speakers come from all over Europe and all sessions will be held in English.
I will speak about Display Templates from the very basics to how to customize search results using search APIs. I will co-present with my fellows Mattia and Claudio, SharePoint MVP and one of the best developer I ever met. You can take a look to the agenda and event’s location on SPSEvents.org.
I’ve often been asked to get almost any kind of report about SharePoint’s content. This time the customer asked me to get the list of all publishing pages and their page layout in a site collection. This is quite an easy task, of course using PowerShell! It’s just a matter of looping through all SPWebs in the site collections, get the page library content and print some item properties in a text file. Let’s see how to do that.
Since this is just a quick tip take a look to the comments in the script, they should be self explaining :)
I already wrote about this topic in the past (http://blog.riccardocelesti.it/an-update-conflict-has-occurred/ – Italian only, sorry guys). If you missed my previous post It was about the SPUpdatedConcurrencyException and how to avoid it. My suggestion was to add a farm property, command-line-upgrade-running and set its value to No. read more…
As part of its continue investments in security Microsoft recently released the public preview (at the moment of this writing) of a new feature of the Azure Rights Management called Document Tracking.
In a few words sharing a document you can now “monitor the use, and thus abuse, of each of these documents shared using a variety of views. If the senders does not like what they see, they can (now) revoke access to the document regardless of where it is stored” (taken from http://blogs.technet.com/b/rms/archive/2015/05/04/doctracking.aspx).
In a new project I’m working on I had to create a new Content Type and make it available on all the document libraries in the site collection. I had to choices: browse each document library’s settings page and enable the content type via the UI or let PowerShell do it for me. Since I’m really lazy I chose the scripting way.
A few days ago I published the script on TechNet Gallery, “Enabling content type on multiple lists with PowerShell“. As you can imagine the script enables a content type on each document library in a site collection. It takes three parameters: site, name and list.