Power Automate: uriPathAndQuery function
Returns the full path and query string from a URL.
Here I share the best practices I use for the Power Platform tools, drawn from my own experience and plenty of learning from other people's mistakes so I don't repeat them. None of this is set in stone, so adjust it to fit how you work. Consistency matters, especially when several people share a platform. I see it constantly: SharePoint sites with mismatched naming, lists with convoluted names, and flows nobody can follow. When you agree on rules, everyone always knows what something means, and onboarding a new person becomes far easier. Even if you never adopt my conventions, at least write your own down. And even if you work alone, building your own reference makes you think, and you will often spot places where things could be better. That reflection is half the value.
Returns the full path and query string from a URL.
Returns just the path segment from a URL.
Fires when a OneDrive file is modified. Returns metadata only, not content.
Returns the first day of any month.
Fires when a OneDrive file is created. Returns metadata only, not content.
Creates a file in OneDrive for Business.
Returns the exact start of an hour from a timestamp.
Fires when a OneDrive file is created. Returns content and metadata.
Deletes a OneDrive for Business file by file ID.
Resets a timestamp to midnight.
Fires when a OneDrive file is modified. Returns content and metadata.