AndyHMar 29, 20191 min readCreating Buttons with UI FabricLast time we started with a simple link. Buttons are just as easy to add and can do much more. In this example I demonstrate the...
AndyHMar 29, 20191 min readCreating links with UI FabricStarting simple, adding a Office UI Fabric Link component to your web part takes no time at all. Ensure you have the right import in your...
AndyHMar 19, 20192 min readWorking with State in a React ComponentVery early on you will want to use the state to store and use dynamic data in your React component. In this example I want to take a...
AndyHMar 18, 20191 min readGet current userI needed to know who the current user is to customise my web part. The details are available through PnPJS. Shantha Kumar Thambidurai...
AndyHMar 17, 20191 min readDestructuring TypeScript ObjectsI've seen some example code in TypeScript that initially got me scratching my head. After a quick search on Google, it turns out that...
AndyHMar 17, 20191 min readParameter propertiesTypeScript has a neat shortcut for defining and assigning properties. Keep reading to find out more! In C# when defining a class with a...
AndyHMar 16, 20191 min readCreating a new list itemUsing PnPJS to create a new list item is really easy to do with items.add. In this example a new list item is created, populating the...
AndyHMar 13, 20191 min readReading the querystringMy web part needed to read a querystring. SharePoint Framework has a tool for that! When I have created little chunks of JavaScript in...
AndyHMar 12, 20192 min readQuery a list or libraryQuerying a SharePoint list or library is not a puzzle thanks to the power and flexibility of PnPJS. Check out this post on how to install...
AndyHMar 10, 20192 min readLet's get debuggingYou make a change to the code and it does not work as you expect. What now? Getting the debugger working will certainly help with that....
AndyHMar 10, 20194 min readGetting set up with SPFxIn this first blog post I am going to summarise the areas I focused on and the resources I found useful to get set up and started. The...