I had the scenario where when files are updated in a specific folder of a SharePoint Documents Library, then the folder should be copied to another document library. Because we don’t want the copy process to trigger for ever changes (like if we bulk upload files, or if someone is doing changes in live in […]
Tag: Astuce
SharePoint REST API to copy a file from one site to another one
There is a good explanation in this Gist, and make sure to read my comment also!
Power Automate Flow: force a file deletion and force a file replacement
To force a file to be deleted in a SharePoint Document Library, using a Power Automate Flow, we can call the action “Send an HTTP Request to SharePoint“, with the below: Method: POST Uri: _api/web/Lists/GetByTitle(‘Document Library Name’)/GetItemById(@{variables(‘ItemID’)})/recycle Headers: Prefer: bypass-shared-lock To force a file to be replaced with new content in a SharePoint Document Library, […]
Égypte : croisière sur le Nil
Nous avons pris, via Voyage Privé, un séjour all inclusive en Égypte, avec croisière sur le Nil. Bons à savoir Les euros sont acceptés de partout ! Le dollar américain également. Vous pouvez bien sûr retirer des livres égyptiennes, mais ce n’est pas forcément nécessaire. Par contre les toilettes sont payantes : elles coûtent 20 […]
How to pass a parameter from the URL to a SharePoint Form (2025)
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 […]
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>” ), […]
Recevoir des alertes lors de la diffusion d’un programme
Trop souvent je loupe des émissions TV que j’aime bien (comme “Qui veut être mon associé ?”, “Rendez-vous en terre inconnue”, …). J’ai cherché un service sur le Net qui me permettrait de recevoir un email lorsque mon émission préférée était diffusée, mais je n’ai rien trouvé. J’ai donc créé https://alerte-tv.kodono.info/ qui permet d’être tenu […]
Utiliser un VPN sur l’iPad via un serveur Debian
Je vais expliquer ici comment installer un serveur VPN WireGuard sur Debian et l’utiliser depuis un iPad. 1. Serveur Debian Sur le serveur, on installe WireGuard avec apt install wireguard -y. 2. Générer la clé privée et publique du serveur Pour cela, on va faire : sudo wg genkey | sudo tee /etc/wireguard/server_private.key sudo cat […]
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 […]