I got a Power App form attached to a Sharepoint list I'm using as a developpement model.
Then, I'm using FlowPowerAppsMigrator to transfer the form to other Sharepoint sites made for clients.
I need to get the URL of the sharepoint site the form is currently on for some processing, however I can't seem to find a way to dynamically get it. I found this tutorial that is working, but require at least one item in the list, which isn't guaranteed.
Another way to do it would be to manually go change a static variable after migrating the model to the new site, which isn't ideal when there is already 10 sites and growing.
Any tips on it? This is quite an edge case, but I'd be glad to not have to do manual tweaking. I'm also willing to do Power Automate flows if needed.