The PnP PeoplePicker reusable control is one of the amazing reusable controls available from the open-source @pnp/spfx-controls-react project. You can easily include it in your SharePoint Framework projects. Unfortunately, and at the moment, there is a bug that prevents you from completely disabling the control.Continue reading “PnP PeoplePicker reusable control disabled”
Had an amazing time at SharePoint Saturday Barcelona (SPS Barcelona) last weekend! The event was very well organized and full of really nice sessions to attend. Really hope that everyone who attended had a great time.
You can find the slides from my presentation below.Continue reading “SPS Barcelona – Resources from my session”
The PnP TaxonomyPicker reusable control doesn’t have a property to let you mark the input control as a required field on a form, but fortunately, this can be easily addressed.
If you have used the PnP TaxonomyPicker reusable control before, you may have noticed that it doesn’t have a property to make it required, nor does it have a property that lets you add a custom CSS class to it. The problem is that your other required input controls on the form will have a ‘*’ after the label, but not the TaxonomyPicker controls.
But there is a very simple way to solve this because the control also has a Label control, so we can mimic the styles from other Office UI Fabric input controls.Continue reading “PnP TaxonomyPicker reusable control as a required field”
The latest release of PnP Reusable property pane controls (1.8.0) adds an additional property (webAbsoluteUrl) to the PropertyFieldListPicker control. It allows a target site to be specified for loading the lists.Continue reading “Target site for PropertyFieldListPicker control”
Last Saturday I had the pleasure to speak at SharePoint Saturday Madrid. You can find here all the materials used for the presentation: the presentation slides and the video recording. On the slides, you can find links to the relevant resources and also a link to my GitHub repository that contains a working version of the demo, and also a guide in case you want to recreate the demo yourself.Continue reading “My session at SharePoint Saturday Madrid”
If you are a SharePoint developer creating SPFx solutions, you must have heard about the PnP reusable controls and PnPJS library. They help you accelerate the development of custom solutions by providing tools that help you overcome common problems/requirements.Continue reading “PnP reusable controls, property pane controls, and PnPJS library”
Starting a new project generally requires some initial setup before you can jump into code. SharePoint Framework (SPFx) is no exception.
Unfortunately, we often forget to configure something that then needs to be added during the development phase, which may introduce some issues. I hope you find this article helpful the next time you create a new project.Continue reading “SharePoint Framework – new project checklist”
I like to use the TSLint extension on Visual Studio Code to immediately flag errors. This is very useful as you can see them before you save and wait for a build task to flag them. What I don’t like, is that the TSLint config file (tslint.config) is generated inside the config folder by the SPFx Yeoman generator.Continue reading “TSLint errors on VS Code using SPFx default rules”