Periodically, I want to copy files from OneDrive to a SharePoint Online library, or from somewhere other than OneDrive such as Outlook.
What I want is a dialog prompt to input the file metadata for that libray. I've searched and found something from 2017. I also see plenty of things to send an email (that seems that's all Flow does is send out emails. wow).
Bottom line: copy a file into the library, give me a dialog box to input the metadata.
Given SharePoint is a collaborative tool and framework, it stands to reason, to me, that that would include the full capability of intuitively profiling documents in the fashion discussed in my requirements. I won't say too much here, but given my experience with this tool so far, I'm willing to bet it can get and transfer the metadata, even send out nice emails but prompting users to input the metadata will be something to add to the users requests area like everything else one would think is intuitive. If it does provide that capability , NOW, I will be pleasantly surprised but my searches didn't make me feel overly optimistic.
Yet another afternoon wasted trying to do research on a Microsoft product on something one would think would be standard for such tool.
Could you share more details on your scenario?
Are you trying to copy files from OneDrive to SharePoint library periodically?
I assume that the following flow could be your reference.
Add the trigger Recurrence so that it could run daily.
List files in folder. Specify the folder from which you want to the copy the files.
Get file metadata, select dynamic content Id from the previous action.
Get file content, select dynamic content Id from action Get file metadata.
Add the SharePoint action Copy file, select File name and File content for each field.
All the files could be copied from OneDrive to SharePoint without issues.
Thanks Mabel. There's not much else to add. Copy files from OneDrive to SharePoint and prompt me to input the metadata for the the particular library. Period! It's a manual thing and would only be done every now and then but I dont want to have to do things the 1980's way of performing one task of copying a file to SharePoint, then leaving that location, go to SharePoint, locate the library, locate the file(s) copied, go into edit properties and add metadata. Really? That's what Microsoft offers in 2019?
To me, my request seems like just a typical, standard, everyday run of the mill requirement ANYONE would need in such a situation where metadata and document storage is concerned. There's a myriad of third party tools that heve been doing this for some time (>10 years) like Macromedia.
It completely baffles me that Microsoft doesnt aslready have that capability hardwired/integrated into both systems. Afterall, it's 2019 now and arent Microsoft products purportedly soooooooooo phenomenal and integrated now?
Actually? NO they're not, far far from it.
I cant tell till I actually fool around with your idea, but is this "get metadata" flow task meaning prompting me for input such as with a modal dialogue box (which is what I want) OR (sorry for being cynical but it's just my experience with MS so far) is it just going to assume it's going to 'get metadata' from some existing file and then hey, we can send an email to someone advising a file was copied (eeeeewww) which is obviously not at all what I'm looking for.
Thanks for the idea, I'll check it out.
Because of the flexibility you want in your soultion, you may want to explore using PowerApps for this requirement.
Ok tried your example Mabel. It copied four files to SharePoint. No where did it prompt me to enter the metadata though!!
Can't find any actions to Set file metadata. So even though the whole thing looks very pretty it's all basically a dressed up DOS file tree where you can't set any properties on a file, but hey, you can send someone an email that a new file has been uploaded.
Is it me or am I really missing something here? I've been AGAIN, at this all afternoon playing with actions and triggers. I now know how to alert myself via an email that I just uploaded a new file. Seems I still have to go in manually to bring up the file proeprties in order to set metadata.
Could you share a screenshot of your flow?
Are you trying to “Set file metadata”? I am afraid that there is no action could be used to update/create file metadata.
Please share more details on your flow for better understanding.
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!