
Announcements
This is possible using Power Automate and SharePoint integration with Dataverse in your Model-Driven App. Here's how you can achieve dynamic document locations based on record names, including extracting acronyms and creating folders accordingly.
You want to:
Documents/Projects/AAA)AAA - Project Name)In Power Automate, use an expression like:
split(triggerOutputs()?['body/yourTitleField'], ' - ')[0]
This gets the acronym before the dash.
Use the SharePoint "Get folder metadata" or "Send an HTTP request to SharePoint" action to check if:
exists. If not, create it.
Use the "Create folder" action to create:
This will be your document location.
Use the Dataverse connector to create a new Document Location record:
Projects/[acronym]/[record title]