Kapaow! Real time data in Power Apps Portals!

In order to be sure all data in the Covert Operation Center is up to date, we have to make sure caching is disabled. This is not possible by design in portals. But no worries. We have a dirty hack in our sleeves.

In order to reset the cache, we must navigate to /_services/about within the solution and click the “Tøm hurtibuffer” for the page.

Then we can monitor the network when clicking the button and save the request as a fetch request. Then we create a setTimout function with location.location() at the end.

And kapow! We have real-time data as long as the page is open within and browser.

Helping out a fellow turtle

In this crazy world we turtles need to stay together and help each other. In a hackaton there is not much time for making clean code and updating the documentation. We thought we would help out another team by submitting a pull request with some code-cleanup and added description.

nINjas happily approved the changes:

Check it out: https://github.com/TommyBakkenMydland/nINjas/commit/e66048bd8488f0caacb0e9531aded1b60d56a341

Microsoft, Microsoft, Microsoft <3

Let’s face it, we all love Microsft (and yes, sometime hates Microsoft, but any type of feeling is a lot better than no feelings!). We use Microsoft technology every day, and of course we use a lot of this in our solution. Let’s go for the one first. Using Power Automate to use data input in Dynamics 365 HR to create a user in Azure AD (I know, you’ve seen this before in a previous post, but it might be easier for you to see everything in one post than for us to reffer to other posts):

Then, why should you leave it up to every employee to create their email signature? Don’t worry, we’ll solve it for you. We’ve created a solution that attach a signature on all outgoing emails that have our company name in Azure AD, configured in the Exchange setup in office365 with data from Azure AD:

Create a disclaimer as a flow rule in Exchange
Applied to senders that are employed in our company, AxShredder Inc
The signature itself is created with HTML-code
And this is how it will be, without data added
And with data added

And then, the night before a new employee starts at our company, have a Power Automate that imports the user in to Dynamics so that the user can log in to the system. Also, connect the user to the correct worker so that it can access the Employee Self-Service to see and edit data regarding himself:

Pizza Learning

Today we tried to solve the head 2 head power apps challenge. We could not come with solution in time, but we managed to learn and prepare a lot about ML and power apps. While exploring the possibilities, we found the following option:

Lobe is a very easy to use product hat easily generates models based on images that you provide to the application. It has a direct integration with power apps. Here you can see a little bit of the UI:

Once the model was created and trained we exported it to power apps studio and got it available as a model under AI builder modules:

The next step as actually pretty simple, by just adding the model to a power app and running the Predict function, we got answer from the model to identify the type of pizza selected on an image picker.

Thanks to Ahmad Najjar for the tips and the challenge, new things learned 😊

Happy coding!

Vi er Happy Campers!

Vi ville utnytte muligheten til å skryte av vår hemmelige Camp! Og selvfølgelig er også LilleRosaBærsj med oss når vi sniker oss unna til The headquartes!

Det er her alle de gode ideene kommer! Tarp på hotellrom kan anbefales! 😀

Vi håper også dere legger merke til både hodebåndet og maskotten vår! 😀

Lagånden i teamet er alltid høyt! Du finner os smilene og leende 98% av tiden!

#ViTokHappyCampersLittBokstavelig 😉

How to make Google Maps work in .NET MAUI!

MAUI is still in Preview. That means it has a relatively small feature set and some of it doesn’t work as you’d expect. The fun part is figuring out how to make it work.

We wanted to implement an interactive map in a portion of our app. Seems like MAUI doesn’t support a solution for it yet. Whoops. Xamarin.Forms, the predecessor of MAUI, does support it but it hasn’t been ported to MAUI yet. So what do you do?

Here’s what we did:

  • Create a React project
  • Implement a React Component that shows Google Maps
  • Pass in location data to create pins
  • Host the app as a separate web app on a website (https://sosmap.vercel.app)
  • Show that React app as a “WebView” inside the MAUI app
    • A webview is a webpage hosted inside your app

Suddenly you have an interactive map in your application.

This isn’t the way MAUI is supposed to work, but a hack while it is in preview!


Also, the React app is hosted with CI/CD for a proper agile workflow.

Paint is so 1990, or is it?

Before we came to ACDC, who would have thought we ever would create a pizza creation app? But, here we go! Simplicity and speed was the important thing in order to be the first team to solve this task. The most timeconsuming task was to get hold of some images for the solution. And what better way of creating pizza sause than using the good and old bucket in MS Paint? Just close youre eyes, think about all the hours you spent playing around in Paint to create something beautiful you printed and gave to your sweetheart in the 5th grade! Oh, the memories!

Bombs away hipsters!

Our customers in our pizza store seem to be bored, we have expanded our ordering-app in order to make their time fly and stuffed it with some fun and exciting features.

The first feature will display a fun fact about pizza’s and its history.
The second feature will introduce the whole staff in a slide show. Greetings ninjas!
The third feature will save the customer from the time-consuming task of having to read through the menu and choose that special pizza from the menu, let us decide!
The fourth feature let’s our ninja customers give suggestions on what we should put on the menu next, this will ensure the curious ones to return to see if their pizza has made it to the menu.
Last but not least, the customers coming in with a TMNT mask or outfit will be given a healthy discount! (made possible through AI Builder and a custom model).

COWABUNGA !!!