Discord Bot From Hello World to Container Apps
Recently I Became Curious About Discord Bots and How They Work.
In this blog post, I am going to write about my learnings. While some parts might be familiar to you, I found it very amusing to start with a simple “Hello, World!” bot, run it locally, deploy it to the cloud, and integrate it with ChatGPT. Along the way, I learned a lot. I hope this post can inspire other people or at least serve as a reference to refresh my memory when I revisit this topic in the future.
Show Path Column in SharePoint
PnP.PowerShell is just the tool you need to show the Path column in a SharePoint document library view. Scroll down to see the script, or read on to learn more.
An introduction
Do you still have folders in SharePoint? Well, you are not alone. Remember the old dream of relying on metadata only? Forget it! As a matter of fact, folders are still a popular way of organizing files in SharePoint. When not overused, they provide “metadata” by itself, metadata that works even in synced folders, in archive scenarios, works best with Teams etc.
Vertical Laptop Holder
I just 3D-printed a laptop holder, a vertical one. It is so pretty and it makes my desktop tidier, so, I thought, it deserves an own blog post. This information might be too little for a blog post. So, as a bonus, I’ll tell you how the process of finding and customizing a 3D model looks like.
.
Thingiverse customizer
I found a nice laptop holder on Thingiverse. Then I just clicked on “Open in customizer” like this:
Microbit Mouse Jiggler
Do you want to be always green in Teams? This fun diy project will help you - a mouse jiggler that keeps your screen and Zoom and Teams awake.
The idea came when I had a fun conversation with a friend of mine about presence status tracking and how ineffecient it is. As a matter of fact I found a whole lot of products and diy projects just for faking your presence status. So it sounded like a fun challenge to me. Eventhough I don’t need it. If you think you need it, I’d say talk to your boss instead and make sure you are not measured on time being green in Teams, but your real effort. But it is fun to tinker with electronics anyway :)
3D-printa en Super Mario-blomkruka
Jag håller på och lär mig lite om 3D-Print på fritiden. Jag berättar om mina första intryck och hur jag skriver ut en blomkruka som ser ut som ett Super Mario-block - allt detta i en bloggpost.
Montering av 3D-skrivaren
Jag behövde montera min 3D-skrivare (Creality Ender 3 v2) och det gick smidigt även om det tog flera timmar. Jag följde denna fantastiska Youtube video: JustVlad: Creality Ender 3 V2 - 3D Printer - Unbox & Setup . Jag fick justera höjden på plattan flera gånger för att hitta ett lagom avstånd. Svårt att förklara, man måste testa det själv.
Lookup Person Field in Power Automate
Hello Citizen Developers!
I get more and more questions about Power Automate.
One of the recent questions is about how to look up a person field from SharePoint using Power Automate.
I’ll give you a bit of the background in a second. Power Automate is really awesome for citizen developers.
There are a lot of triggers and actions that are easy to understand and use, such as send email, create a list item in Sharepoint etc.
But there are also techier, nerdier actions that are less citizen developer friendly. One of them is Send an HTTP Request to SharePoint
. It might be the answer to many challenges, intimidating at first, but powerful and, hopefully, not so complicated once you’ve tried it.
This post is about this very action and how you can use it to simplify your flow.
Automatically Send Email When News Is Published
News in SharePoint are great, it is easy to edit and post news, add pictures and web parts. But you might have thought how you would spread the word better. If your workmates would check the start page on your site or on the SharePoint Home every day, it would be awesome, it might be the case in future. In the meantime though, you probably have considered sending out email notifications to your workmates whenever there is fresh news.
Automate Creation of Git Repos Using Azure DevOps API
Today I got a question: how can we precreate 50 git repositories in an Azure DevOps Project? I started to learn about the API in Azure DevOps and I found it very interesting. With the API you can script and automate administration of projects, repositores, pull requests etc. To keep this blog post simple and digestable I would like to focus on the intitial request - creating git repositories by code.
11 Things I learned about chat bots in Teams
Recently we developed and published a chat bot in Power Virtual Agents for Teams (PVAforTeams). I would like to share my takes and lessons learned with you.
#1 Easy to edit, fun to work with
Bots in PVAforTeams are no-code solutions and provide a comprehensive graphical interface. Developers, analysts, business representatives can work together on defining topics, user flows. It has been really fun to shape the bot in a group - with a lot of laughter and interesting discussions about users’ work habits and how users search and find information. This is how the simplest topic looks like: Greeting:
My WSL Setup
This is my installation of Windows WSL and SharePoint Development Environment. The procedure and technology is ever-changing, the details might change, but the process is worth documenting, at least for myself, this is a working guide as of writing (2021-12-20).
Installing Windows Terminal
Installing Windows Terminal is not a prerequisite, but it will make your life much easier. Open Windows Store and search for Windows Terminal and click on Install.
Installing WSL 2
Installing WSL has never been easier than now. For that you only need to run a command in terminal as an Administrator and restart your computer: