Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Using Multiple Attachment Controls within the V2 Trigger

(0) ShareShare
ReportReport
Posted on by 22

Hello, 

 

I am creating an App that allows me to upload 8 attachments at the same time. The 8 attachments are inputted using 8 seperate attachment controls. I want to do this because so that i can then segregate each attachment without relying on the name of the attachement being correct. 

 

When I create my "OnSelect" formula for my button in PowerApps it works with one file input. When i try to have two from two diffrent attachemnt controls it gives the error "Your formula is missing a column "contentBytes" with a type of "Blob".

 

Please advise if what im trying to do is possible or if there is a better way? 

 

PowerApps V2 Trigger (Multiple File Inputs, set to not optional)

PowerAutomate V2.PNG

 

ScreenShot of App with Multiple Attachment Controls

App Screen With Mutliple Attachment Controls.PNG

OnSelect code for the Button to Run the PowerAutomate function

OnSelect Button Formula (Multiple Attachments).PNG

Categories:
  • CU30071929-0 Profile Picture
    2 on at
    Using Multiple Attachment Controls within the V2 Trigger
    Something weird is going on here for me. I copied your syntax which power apps was happy with. But then all of a suddent Power Automate starts giving me a "permission denied" error...
     
    I then delete the second file I want to use and power automate is happy again... Any ideas?
  • Verified answer
    LosE Profile Picture
    22 on at
    Re: Using Multiple Attachment Controls within the V2 Trigger

    SOLVED IT!

     

    I removed the "{file:" and the last "}" from each file input and now it works!

     

    My "OnSelect" code now appears as per below:

     

    PowerAutomate Error Removed.PNG

  • LosE Profile Picture
    22 on at
    Re: Using Multiple Attachment Controls within the V2 Trigger

    Thanks @WarrenBelz, unfortunatley the error persits. Appreciate any other thoughts on this. 

     

    The error shows for every file input. If i only have one file input the error disappears. 

     

    PowerAutomate Error.PNG

     

    Many thanks, 

    Los

  • WarrenBelz Profile Picture
    147,570 Most Valuable Professional on at
    Re: Using Multiple Attachment Controls within the V2 Trigger

    Hi @LosE ,

    Try using file: on them all rather than file_x:

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >