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 / Inserting a default at...
Power Apps
Unanswered

Inserting a default attachment in an attachment control

(0) ShareShare
ReportReport
Posted on by 10

Hi, I have an email template app in which users can go in select a template and send the email out. In the attachment control I want one document to appear as a default for one of the templates.

 

I want the document to always show up as a default for one of the options because that email will always have that attachment and I would like for the user to not insert that particular attachment every time.

 

Basically the combo box option changes the default text of a rich text editor which becomes the body of the email. So if for example option 1 is selected I want a pdf file to automatically to come up on the attachment control and the user has option to add further attachments to it.

 

Is there any way that the "default" property be used to source an attachment?

 

This is the control> If option 1 is selected I want a pdf file to appear in the attachment control

mhaisam1_0-1650577064661.png

 

 

mhaisam1_1-1650577130873.png

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    Hi @mhaisam1 ,

    This blog of mine may assist here - you would just have to make the Default of the required checkbox based on the file name being the one you want to send.

    ThisItem.Name = YourFileName

     

    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.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    Hi @mhaisam1 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

    Visit my blog Practical Power Apps

  • CU19090021-0 Profile Picture
    2 on at
    Thank you @WarrenBelz, but I am having a hard time with this. The attachments, appears unsaved and once I send the email and return to the email form, the attachments need to be reattached. I'd like them to stay there. I read your blog but it isn't clear to me. I am sending an email with attachments OnSelect of a button to submit a form. 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard