Development

#DevHack: Dismiss messaging extension dialog in MS Teams

November 27, 2020

Currently, I am developing my first “real” Microsoft Teams app with SharePoint Framework. In this app, I am making use of the new messaging extension capability. Info what are messaging extensions? While developing a form in my extension, I wanted to cancel and submit a button. When I started implementing the cancel button, its onClick event, I was lost in how to close the dialog.

Read more

#DevHack: Optimizing initial load JS from Next.js

November 27, 2020

Now that my PimpYourOwnBike website has launched. I started looking at where I can do some optimizations. When looking at the Next.js build output, I spotted a red number in the First Load JS section. First load JS too big That would be the first thing on my list to optimize, getting this number from red to green.

Read more

#DevHack: Create SharePoint library with the Microsoft Graph

November 26, 2020

When you are reading this, you are looking to create a SharePoint library from the Microsoft Graph. It is straightforward but a bit confusing because you will have to use the lists endpoint. When you are a SharePoint developer, we all learned that a list is not the same as a library, and lists get created under the /lists/ URL path.

Read more

#DevHack: Dynamic manifests for Progressive Web App aka PWA

October 28, 2020

In the previous #DevHack, I told you how to use deep links in your PWA for Microsoft Teams. This approach I currently implemented in one of my proof of concepts. Another functionality that my POC needed to have is to have dynamic manifest creating for the PWA. Info #DevHack: Deep linking to Microsoft Teams in Android and iOS In this #DevHack, I will tell you how you can make it possible to get dynamic manifests for your PWA using Azure Static Web Apps and Azure Functions.

Read more

#DevHack: Deep linking to Microsoft Teams in Android and iOS

October 21, 2020

This week #DevHack is about opening Microsoft Teams deep links from your solution/app. For a new proof of concept, I wanted to open a chat/app from my PWA app quickly. Luckily Microsoft Teams supports this with their deep links functionality. Info Read more about Microsoft Teams deep links here: deep links documentation In the documentation, it states that you must use the https://teams.

Read more

What is the right approach to cache data in your solution?

October 15, 2020

We all want to be the fastest. We all want to make sure our apps outperform others, but what do you need to do for it? In this article, I will explain what the best approach is to cache your solutions. Important When building on top of a platform like SharePoint, you will always have to deal with the fact that you cannot be faster than the platform itself.

Read more