I am building flows to syncronize files between Sharepoint and Dropbox.
As subfolders are not yet supported I'm creating flows for each folder.
I'm making 2 flows per folder. 1 create/update flow and 1 delete flow.
I'm having 2 issues with the create/update flow.
1. When a namechange of the file is done, the trigger is not activated. Probably there is a simple fix for this, but I was unable to find it.
2. When the file already exists I got errors with the create file flow, so I've made a condition that checks if a file is new or changed. This works fine. Creating files is no problem.
When a file is updated somehow it changes the Capital of the filename to a lower case and thus create a new file in the process instead of updating the existing file.
Can anyone help me with above issues?
bestand = file
gemaakt = created
gewijzigd = changed
bestandseigenschappen = file properties
bestandsinhoud = file content
naam = name
invoer = input
uitvoer - output
Hi @Jamyvv ,
You could use When a file is created or modified (properties only) as the trigger, I did a test on my side, if change the file name of the file, Flow will excute.
Do you mean that when updating the corresponding file in Dropbox, is the file name replaced with lowercase letters?
I used Dropbox-Update file action on my side to test it. When I update the file, it automatically changes the file name to lowercase.
And create a new file, delete the previous file.
I will report this issue on my side to confirm if this is a bug or something else.
If there are any updates, I will post back.
Hi @v-bacao-msft ,
Many thanks for your reply.
Q1: Yes this is the trigger I use. I think this might be something with onedrive for business app, because I changed the name in the folder on by PC via Onedrive for business, instead of online. This has very strange reactions.
On one test, in which I initially created the file on Sharepoint, renamed on Sharepoint and later renamed via PC Onedrive for Business, it would keep the old and new on the Sharepoint and create the old on Dropbox (lower case).
One another test (change directly via local PC Onedrive for Business) it doesn't trigger the action at all.
I think this might be a bug?
The next step is to find out if a name has been changed and get the previous name.
Is this possible at all to do? Because I'm not able to find this, also not in the forums.
Yes so all capitals are replaced with lowercase letters.
Same as your test. However in my tests, it doesn't delete the previous file.
Let me know if this is a bug or something else.
Again, thanks for your support.