I would like to create flow to rename the file name of the sharepoint list attachment. Please let me know if anyone has any idea on how to do it. I am new to MS-Flow.
User uploads Lotus.jpg and I want to rename it as June-19-5:00PM-Lotus.jpg
Or even June-19-Lotus.jpg is fine.
Thanks in advance.
Solved! Go to Solution.
I have applied what you are describing but this changes every time the name of the attachment. So if I want the next day to attach a new file then modifies all the previous to the today's date. Do you know how this can stop and just apply the rule when a new attachment is added?
Thanks for this solution. I have one more question:
What trigger are you using before 'get attachements'? I use a trigger 'when item created or modified'. However, this seems to loop so the attachment file name keeps on adding the date.
Is there a trigger to only change the attachment you upload or maybe condition you can apply?