Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Flow Updates Library

(0) ShareShare
ReportReport
Posted on by 4,682 Super User 2025 Season 1

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']

Categories:
  • Phineas Profile Picture
    4,682 Super User 2025 Season 1 on at
    Re: Flow Updates Library

    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.

    Phineas_0-1620501320544.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard