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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Attachment in power ap...
Power Apps
Unanswered

Attachment in power apps canvas empty attachment facing below erro

(0) ShareShare
ReportReport
Posted on by 8

...............

PCNo.png
ProductContarctingError.png
PC.png
Categories:
I have the same question (0)
  • wolenberg_ Profile Picture
    1,476 Super User 2026 Season 1 on at

    Hey @nithingaddam777  ,

     

    I think you don't need to create an IF statement to verify if you have attachments or not, you are using the Submit Function, so the only thing you need to do it is :

    Submit(FormName)

    However, if the attachments got some file inside, the files must to be uploaded to your list, otherwise there is no attachments, the column have to be with blank content, so no need additional check to upload an empty file.

     

    -------------------------------------------------------------------

    If my reply helped you, please give a 👍
    If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it.

  • nithingaddam777 Profile Picture
    8 on at

    Here in qestion i didnt mention any form:

    The following are the points which we are facing error with attachment after submitting the app we are facing the issue on selecting 3rd Question as ‘No’ “expecting string but got Null”.

    The below Screenshot is on page 3rd question

     

     

    Below one is for Attachment Control if selected  ‘yes’ only attachment will be visible

     

     

     

     

    Now, the issue is with selecting ‘No’ dropdown expected string but Null even if put any blank condition its not satisfying the conditions.

     

     

    Feedback (Screen) >> Submit (button)>> Onselect

     

     

    Onselect of Submit button where the highlighted is code we attached for attachment

     

     

  • wolenberg_ Profile Picture
    1,476 Super User 2026 Season 1 on at

    The issue it was inside the Power Automate Flow triggered by some page or button action,

    "ProductContract-xx-xx-xx.Run) , you must to create a if statement inside this trigger to avoid this message error.

     

  • nithingaddam777 Profile Picture
    8 on at

    Thankyou Wolenberg, 

  • wolenberg_ Profile Picture
    1,476 Super User 2026 Season 1 on at

    In this case, you can create a conditional before send the email,

    wolenberg__0-1712777523999.png

    Using the Length you can check if the content has value inside the variable, so you have 2 options send with attachment and without him.

    Another step still mandatory, it is put the conditional as well inside the Power Apps.

    Like : If(dropDownAttachment.Selected = "No" , ProductContract-xx-xx-xx.Run("No Attachment"," ").

    You just have to put something to initialize the power automate flow.

     

    Good luck with this.

     

  • nithingaddam777 Profile Picture
    8 on at

    /...

  • nithingaddam777 Profile Picture
    8 on at

    ..

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard