Contents
How to upload documents while retaining meta data?
1. You want to upload a document to a SharePoint document library 2. A document with the same name already exists in the library 3. You select “Overwrite existing files” 4. You expect the new document to replace the existing document with the same name and retain all the meta data 5.
How to edit information in a document library?
To edit information about an item in a document library Go to the document library that contains the file, folder, or link you want to edit information for. Click the icon to the left of the file, folder, or link to select it. If you’re in thumbnail view, click the top right corner of the file, folder or link to select it.
-a request Trigger providing “FileName” and ID as outputs. -a SP “Get Item” bringing as default input the SP List Name, and “Folder path” as one of the outputs. After these two steps I add SP “Get File Metadata using path” in order to get the File Content.
How to upload a document to the document library?
How to upload the file into the document library and insert/update the metadata columns.I am having 3 people picker data types/user group columns and one choice field and 2 single line of text columns. I have written the PowerShell to upload the document in the document library but how to get the item which is inserted and update the metadata.
But document gets replaced but all the meta data gets wiped out and you get a blank form to enter your meta data again. Here is the explanation: Process you were following to upload is correct. But you need to get copy of the document from SharePoint library after you updated the properties, update the document and then upload.
Can you upload a document to the library?
Yes. After you upload the document to library it creates those properties to the document.
Add the SharePoint Update file properties action. Fill in all of your SharePoint fields per the inputs that you created in the trigger. For the Id, select the ItemId of the file you just created in the previous action. 7. Save the flow. 8. Test the flow by running it. Fill in all the fields, upload a file, and Run flow.