<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pnp on When Pigs Fly</title><link>http://derekcp.com/tags/pnp/</link><description>Recent content in Pnp on When Pigs Fly</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 21 Dec 2019 00:00:00 +0000</lastBuildDate><atom:link href="http://derekcp.com/tags/pnp/index.xml" rel="self" type="application/rss+xml"/><item><title>Local Time Zones for PnP Modern Search Web Part</title><link>http://derekcp.com/posts/local-time-zones-for-pnp-modern-search-web-part/</link><pubDate>Sat, 21 Dec 2019 00:00:00 +0000</pubDate><guid>http://derekcp.com/posts/local-time-zones-for-pnp-modern-search-web-part/</guid><description>&lt;p&gt;I was working with the &lt;a href="https://microsoft-search.github.io/pnp-modern-search/"&gt;PnP Modern Search Web Part&lt;/a&gt; which is a great tool. If you have not seen it take a look. It provides a lot of robust features that allow you to aggregate content and display results in many different ways. I recently had an issue where I had created a custom Handlebars template to show the events. The layout worked great. The one issue was when the times for the dates were output they were in UTC.&lt;/p&gt;</description></item><item><title>Deploying Application Customizers with a Site Design</title><link>http://derekcp.com/posts/deploying-application-customizers-with-a-site-design/</link><pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate><guid>http://derekcp.com/posts/deploying-application-customizers-with-a-site-design/</guid><description>&lt;p&gt;Sometimes things are harder than they need to be. I have been working on Site Designs recently to automate the creation and deployment of different element in a site. For the most part things were pretty straight forward for what I needed to do, add a theme to a site, add site columns, and add content types. This time around I needed to deploy an SPFx Application Customizer that needed to be installed on individual sites. The &lt;a href="https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#register-an-extension"&gt;official documentation&lt;/a&gt; on this is a little lacking. It doesn&amp;rsquo;t really explain what you need to do in order to make it work. I also looked at the &lt;a href="https://github.com/SharePoint/sp-dev-site-scripts/tree/master/samples/site-register-spfx-extension"&gt;PnP Site Design Samples&lt;/a&gt; which got me a little closer. It took me quite a while to figure out the right magic voodoo combination that got it to work.&lt;/p&gt;</description></item><item><title>Using Widget Wrangler with PnP for IE</title><link>http://derekcp.com/posts/using-widget-wranger-with-pnp-for-ie/</link><pubDate>Wed, 17 Jan 2018 00:00:00 +0000</pubDate><guid>http://derekcp.com/posts/using-widget-wranger-with-pnp-for-ie/</guid><description>&lt;p&gt;I am creating client-side webparts using the &lt;a href="https://github.com/Widget-Wrangler/ww"&gt;Widget Wrangler&lt;/a&gt; for SharePoint. The webparts all use PnP JS. This site needs to work in IE 10+. The webparts work great in Chrome and most other browsers. However, when i run it in IE I get an error about Undefined Headers. This is because PnP uses Promises which IE 10 and 11 don&amp;rsquo;t support. To fix that I had to include some polyfills and perform a sacrifice to the SharePoint gods.&lt;/p&gt;</description></item></channel></rss>