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 / save attach image in d...
Power Apps
Unanswered

save attach image in dropbox

(0) ShareShare
ReportReport
Posted on by
 
 Hi all, I need to create a dropbox image file for each photo I create in my app. I would need to know how to create the flow and the command to insert into the create image file button Thanks in advance
Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @Giovanni1 ,

     

    Could you please share more details about your scenario? How did you add photos in PowerApps?

     

    There is an out-of-box solution already and you could find it when creating the Flow:

    1.png

     

    Since I don't have the account to test it, if you have any questions please let me know.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Giovanni1 Profile Picture
    on at

    I tried to insert the flow as you indicated, but when I create the button, if I search through the flows in powermate, I can't find it. In fact the flow is among the customized flows. How can I attach the flow I created in the button. I attach two screenshots Thanks

  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @Giovanni1 ,

    There are some tricks to successfully solve your problem:

    First let's create your flow. There will be only a trigger and one action, like this:

    Capture.PNG

    Don't forget to put a unique value to the file name, otherwise your flow will play on running time if an file with the same name already exists.

    If you want to access your flow from PowerApps button action, your trigger should be PowerApps trigger (you'll find it in instant category).

    Inside DropBox-Create a File action, your formula should be (thanks God there are some smart guys among us 😊)

    base64ToBinary(triggerBody()['Createfile_FileContent'])

    where triggerBody()['Createfile_FileContent'] is obtained using this:

    Capture.PNG

    Give a name to your Flow, Click Save and that's should be all with PowerAutomate.

     

    Now, inside your app:

    Select your button Pulsante, in Menu go  to Action -> PowerAutomate/Flow ... and select your newly flow.

    Set your OnSelect property of the button similat to this:

    saveToDropBox.Run(
         Right(

               Substitute(myImage,Char(34),""),
                     Len(
                          Substitute(myImage,Char(34),"")
                      )-
                     Find(",",
                         Substitute(myImage,Char(34),""

                     )
               )
         )
    )

    And that's all ...

     

    Hope it helps !

  • Giovanni1 Profile Picture
    on at

    Thanks for your solution, but it reports some errors (I attach screenshots)

    . Maybe I missed some steps ... I try to explain what my goal is: I have a gallery with a series of products, each of them has two photos. I would like to save the two photos on dropbox, associating the product code. Example: I have a product code 100, which has two photos, photo1 and photo2. I would like photo1 and photo2 to be registered with the code 100, so photo1-100 photo2-100

  • Giovanni1 Profile Picture
    on at
    I tried to create as you explained to me, but when I go back to powerapp and insert a button, among the flows I cannot find the one created to upload the photos.
  • v-jefferni Profile Picture
    on at

    Hi @Giovanni1 ,

     

    As I mentioned in the other post, please check if your app is in some solution.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Giovanni1 Profile Picture
    on at

    My app is in the upload photo solution on dropbox, but when I create a button, this solution is not visible from Powerautomate

  • Giovanni1 Profile Picture
    on at

    Hi gabibabaln, I report the various forms that I have compiled. It actually creates the file in the folder correctly, but not the image it reports as a txt file. I am attaching three screenshots of the various steps. Could you help me understand where I went wrong? Thanks again for the support

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard