web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / move file form sharepo...
Power Apps
Unanswered

move file form sharepoint library to a other on specific triggers

(0) ShareShare
ReportReport
Posted on by 2

A document is on sharepoint library 1

If the user finished work on this document he will set a column field on "done"

All the files with flag "done" will automatic moved to library 2

 

Categories:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at

    Hi @christofkoller

    You are best doing this with Flow, not PowerApps.

    Check the Flow forum for guidance.

  • v-micsh-msft Profile Picture
    on at

    Hi @christofkoller,

     

    @Meneghino is right.

    This should be better done with Microsoft Flow.

    As Mabel suggested in your another thread, currently there is no available trigger or action to work with the Metadata of the SharePoint library file.

    But we could workaround it by using the SharePoint ->Get items action.

    For example, we would like to run it in a schedule, the steps should be:

    1. Add the Schedule trigger, specify the recurrency that you prefer,

    2. Add the SharePoint -> Get items Action, Specify SharePoint site, under List name, choose to enter custom value, then enter the Library1 Name, click on advanced option, under Filter Query part, enter the filter option, assuming the column field is a Text field, which named as State, then the filter Query should be: State eq 'Done'

    3. Add SharePoint->Get File content Action, enter SharePoint site address, use the File identifier Dynamic content from the Get Items, doing this would automatically add an Apply to each,

    4. After the Get File content Action, add SharePoint-Create File Action, specify the site address, folder path, use File Name Dynamic content from Get items Action, File content from the Get File Content Action,

    5. After the Create File Action, add delete file action, enter the site Address, use the Identifier from the Get items Action.

    Screenshots below:

    25.PNG26.PNG24.PNG

     

     

    Regards,

    Michael

  • christofkoller Profile Picture
    2 on at

    Sorry, my mistake to take the wrong forum.

    Thank you Michael for your work around. I will try to configure like this in the next few days.

    regards Christof

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard