cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Model Driven App - upload file

Hello,

 

i am trying to make simple app with invoices. What i want to do is to add some add data id, created on, from who... But i want to upload file too. For example .pdf or .doc... I created entity with type FILE. but when i am creating form i can see all others entities but not file.

What can i do?

Thanks for any help,
George

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @jurajjakubov ,

Do you add a File type field in your CDS Entity, and want to upload file within your Model-Driven app through this File type field?

 

If you want to add a File type field in your CDS Entity, and want to upload file within your Model-Driven app through this File type field, I afraid that there is no way to achieve your needs in PowerApps currently.

 

Currently, the File data type is only available to canvas apps and flows. Please check the following article for more details:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/types-of-fields#file-fields

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

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

 

The user @Softbear has faced similar issue with you, and he has found a alternative solution for this scenario, please check the following thread:

https://powerusers.microsoft.com/t5/Building-Power-Apps/How-do-i-add-attachments-in-a-Model-Driven-A...

Also please check if the following response could help in your scenario:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Attachments-on-Entities-in-Model-Driven-Apps...

 

 

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.

View solution in original post

2 REPLIES 2
Super User II
Super User II

I am going to ask a few basic questions just to rule out a few things:

1. After you added the new entity, did you save and publish your changes?

2. In model-driven apps, forma are generated automatically for all entities. So not sure what exactly you mean by "not seeing an entity when creating a form". Can you please explain a bit more?

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com
Community Support
Community Support

Hi @jurajjakubov ,

Do you add a File type field in your CDS Entity, and want to upload file within your Model-Driven app through this File type field?

 

If you want to add a File type field in your CDS Entity, and want to upload file within your Model-Driven app through this File type field, I afraid that there is no way to achieve your needs in PowerApps currently.

 

Currently, the File data type is only available to canvas apps and flows. Please check the following article for more details:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/types-of-fields#file-fields

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

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

 

The user @Softbear has faced similar issue with you, and he has found a alternative solution for this scenario, please check the following thread:

https://powerusers.microsoft.com/t5/Building-Power-Apps/How-do-i-add-attachments-in-a-Model-Driven-A...

Also please check if the following response could help in your scenario:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Attachments-on-Entities-in-Model-Driven-Apps...

 

 

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.

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (102,865)