cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mv3
Level: Powered On

Attachments on Entities in Model Driven Apps

Is there an option to add an attachment to an instance of an entity in CDS? I have an entity "Customer", and when the user is filling out the form on a model-driven app, the user should be able to attach a spreadsheet or other attachment. Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
PowerApps Staff richdiMSFT
PowerApps Staff

Re: Attachments on Entities in Model Driven Apps

To enable the ability to add attachments to a model driven form you need to make sure the entity supports notes/attachements. This will start showing the timeline control where you can add a note and attach the spreadsheet or other attachment you mention. 

 

In the Entity editor got to settings for that entity check the "Enable attachments (including notes and files)" checkbox. 

 

Once this has been checked you need to add the "Timeline" control to the form. Open the form in the classic designer. Select the "Insert" tab on the ribbon and find the "Timeline" button. It is at the bottom of the stack below "Web Resource". Move this control where you want it then save and publish your form. 

 

You should now see the timeline control on your form. Clicking the paperclip icon will load the attachment dialog. 

 

Attached image of the timeline control below. 

 

Hope this helps,

Rich

 

 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Attachments on Entities in Model Driven Apps

Hi @mv3 ,

Do you want to attach an attachment within your Model-Driven form app?

 

If you want to attach an attachment within your Model-Driven form app, I afraid that there is no way to achieve your needs in PowerApps currnetly.

The Attachments functionality is not supported within Model-Driven form app. If you would like this feature to be added in PowerApps Model-Driven form app, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could consider generate a standalone canvas app based on your "Customer" Entity. Then embed this canvans app into your Model-Driven app form. After that, you could use the embedded canvas app to edit the record in your Entity, then attach attachment files to the corresponding record.

 

More details about embedding a canvas app within Model-Driven form, please check the following blog:

https://powerapps.microsoft.com/en-us/blog/announcing-the-general-availability-of-embedded-canvas-ap...

Note: Please make sure that you have enabled "Enable attachments (including notes and files)" option for your "Customer" Entity.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
PowerApps Staff richdiMSFT
PowerApps Staff

Re: Attachments on Entities in Model Driven Apps

To enable the ability to add attachments to a model driven form you need to make sure the entity supports notes/attachements. This will start showing the timeline control where you can add a note and attach the spreadsheet or other attachment you mention. 

 

In the Entity editor got to settings for that entity check the "Enable attachments (including notes and files)" checkbox. 

 

Once this has been checked you need to add the "Timeline" control to the form. Open the form in the classic designer. Select the "Insert" tab on the ribbon and find the "Timeline" button. It is at the bottom of the stack below "Web Resource". Move this control where you want it then save and publish your form. 

 

You should now see the timeline control on your form. Clicking the paperclip icon will load the attachment dialog. 

 

Attached image of the timeline control below. 

 

Hope this helps,

Rich

 

 

Mei2019
Level: Power Up

Re: Attachments on Entities in Model Driven Apps

Hi Rich,

I tried your method, but the "Timeline" button is unclickable (light gray). I have the "administrator" role. Why don't I have the permission? Do you know? 

image.png

Many thanks!

Mei2019

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Tomorrow, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 299 members 4,773 guests
Recent signins:
Please welcome our newest community members: