For a few months, there is a new way to display a new form for a SharePoint List, using Microsoft Forms: This kind of form can be useful for intake requests or surveys. But how to pass a parameter in the URL to apply it to a field in the form? Here is the solution […]
Category: English
AndroidManifest.xml from ADB
It’s possible to find the AndroidManifest.xml file for an app using its APK (e.g. from APKMirror) and then with the help of a tool like jadx, but we can also connect to the Android device using adb connect, and then we use adb shell dumpsys package PACKAGE_NAME (e.g. “com.netflix.ninja” is the package name for Netflix). […]
Power FX: Dynamically access an object property with a variable
I’m kind of new with Power Apps, and it’s been very difficult to find how to access an object property using a variable. In a nutshell, here are to access it: With( { tempData: ParseJSON(JSON(ThisItem, JSONFormat.IgnoreBinaryData & JSONFormat.IgnoreUnsupportedTypes)) }, Concat( ForAll( ColumnArray As ColumnName, ColumnName.Value & “=>” & Column( tempData, ColumnName.Value ) & “<br>” ), […]
Animated favicon in Chrome/Edge
To animate a favicon with Chrome / Edge, we can create an animated canvas and a web worker. See the Github repository I created about it.
Remove lazy loading for a custom SPFx webpart
SharePoint Online is doing lazy loading when we hit a page with webparts. If you created a SPFx webpart, and if it’s not visible right after the page load, then it will only be loaded once the user scrolls to it… To remove this behavior, and load the webpart as soon as possible, you must […]
Determine an element `height` and `width` in CSS only and reuse it within another CSS rule
I found this technic on https://frontendmasters.com/blog/how-to-get-the-width-height-of-any-element-in-only-css/ – it only works on modern browsers (mainly Chrome and Edge) Let’s define the properties: @property –_x { syntax: “<number>”; inherits: true; initial-value: 0; } @property –_y { syntax: “<number>”; inherits: true; initial-value: 0; } @property –w { syntax: “<integer>”; inherits: true; initial-value: 0; } @property –h { syntax: […]
How to remove an account / leave an organization in MS Teams?
If in the top right corner of MS Teams, when you click on your profile picture, you see other organizations/accounts and you want to delete them: Go to the MS Teams Settings by clicking on the three dots next to your profile picture Go to Accounts and orgs Turn off or leave the org/account that […]
How to run Android TV 9 on Windows
I used to use Android Studio with the various emulators to test my Android apps, however for Android TV 9 it doesn’t work properly because it doesn’t have Google Play Store on it. To have a good version of Android TV 9: Downlad a VirtualBox image of it – I used the one shared in […]
Connect to SharePoint Online from NodeJS using an impersonate (application) Bearer Token
(duplicate of this StackOverflow answer) Start a new project In a new folder, type npm init to start a new project. Make sure to use a Node >= v14 (I use Node v18 – and Volta can be useful to manage several versions of Node for Windows) Install some dependencies: npm install axios @azure/msal-node uuid […]
Manual Installation of ExplorerPatcher
ExplorerPatcher permits to change the behavior of the Windows taskbar. If for some reasons the automatic install doesn’t work, you can proceed manually: Install it on a computer where the automatic install works On the target computer, download ep_setup.exe from the official website Open a Terminal and extract the files from the setup using the […]