Hello dear community,
so I am new to Power Automate and SharePoint in general, so I have a feq questions to a rather simple flow.
What do I want to do:
I want to update the title tag of a file so that it reflects its name (with file extension). I want to do this when an item is created, but of course also if and item is modified (or specifically if the name of the item is changed).
Why do I want to do this:
The title tag is very important in SharePoint, because it is needed if you want to link to files in SharePoint lists for example. (I have no idea why the name property cannot be searched there, but I guess it is just a limitation of SharePoint).
How did I do it:
And then its just Title = Name with file extension
What is wrong:
This uses my connection, resulting in me being the "modified by" user most of the time, when the title is changed.
I also think, that this means, that the file is accessed by my account resulting in some access request issues of the flow, because maybe the user still uses the file or whatever. But working with OneDrive synchronization to the SharePoint folders is severely affected by this. Most of the time the flow works fine, but when it results in errors, also mostly the user than has problems with his OneDrive Sync etc... (for example the flow error "the file ... is locked for shared use by ..."
Thanks for your support.
Best regards
Markus
Hi @MarkusPot,
Yes, it is impossible to make the creator to the user of modifying the flow. it's a system field and by design.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, thanks, that would maybe solve the syncing issue, but I guess there is no way to not make the creator of the flow automatically the author of every change done with the flow? (problem is me always being the modified by user)
Hi @MarkusPot,
You could create a delay action under the trigger, for example, you could create a 5-minute delay, when a file is modified, Flow has 5 minutes window to wait for the user to finish modified. After 5 minutes, update the title. Of cause, you could make the time window longer.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional