I am still in desparate need of resolution.
I have a Gallery in which I enter data - including a User created 'JobUnqID'. I am Patching the 'JobUnqID' to the List. I am uploading a document the an attachment control to a 'JobDocsLibrary'. The Flow is below. Where do I add the language the will Patch (as this is a new document) the appropriate and specific 'JobCQUnqID' along side the document in the Library as a result of the Patch / Flow action. I've gotten it to kinda work; but its overwritting the wrong item (or multiple wrong items) in the Library.
Flow:
When and item is created
Site
List Name: JobsLibrary
Get Files (properties only)
Site (same as above)
Library Name: JobsDocLibrary
(Both of the above have a column for 'JobCQUnqID'; the 'JobCQUnqID' is being created in the PowerApps Gallery and Patched to the 'JobsList')
Apply to each
Value
Update file properties
Site
Library Name: 'JobDocsLibrary'
Id: SpID (items('Apply_to_each_2')?[ID]
JobCQUnqID: (items(('Apply_to_each_2')?['JobCQUnqID']
I created the following flow. It almost gets me what I want.
It updates the FMSSID that I want to the new document posted to the Library.
However, the flow is updating the document FMSSID based on the 'ID' created by SharePoint.
My desires is to have my own 'UnqID' used to tie a List Item to a Library Document. I've already created the auto-generating field in PowerApps. The UnqID is uploaded to the List anytime a new document is created. I need that same 'UnqID' referenced in the Patch or Flow so that is also populates along side the new document posted in the Library and acts as its UnqID.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional