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 :
Customer experience | Sales, Customer Insights,...
Active Discussion

Possibilities of using the new field type: File

(0) ShareShare
ReportReport
Posted on by

I am looking into the possibllities of using af the field type: File.

I can't find much documentation from Microsoft on this and I am courious of the possibilites to use it in model driven app.

I have got a use case where we would like to add a file to record - both the record and the data is sensittive data, and only users with a specific security role should have access to the record and the file.

Therefore we can't use a standard attachment function on notes, and the customer prefers not intgrate to SharePoint.

So I am looking in to if this new field type file, could be a solution - and got some questions to clarify...

1. You can't add the file field to a model driven app form. But I found the tip from Joel Lindstrom, that you can add the field to a BPF  https://crmtipoftheday.com/1366/make-file-type-field-required/
However when I tested it, I noticed that when you have added a file, it is not possible to change it - any solutions to this ?

2. Does the file field follow the normal security model ?

3. Where is the file data stored ? 

4. If you delete the record, is the file then also deleted ?

5. I found very little documentation from Microsoft about this https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/types-of-fields#file-fields ?
- any other sources ?

For now I think SharePoint is the right solution for this task - but it would great to know if somebody else has used this new field type - and would be great to hear about your experiences :-)

By the way - there is also an interesting blog post about the topic here: https://debajmecrm.com/2019/12/16/new-data-type-filein-cds-all-you-may-need-to-know-about-it/

  • Ioannis Vrasenikis Profile Picture
    Microsoft Employee on at

    Hi Dorthe,

    Model-Driven forms support is available as Preview since 2020 Wave 1, as per below:

    docs.microsoft.com/.../large-file-image-support-model-driven-forms

    Files stored through this attribute should be counted against CDS file storage, as per the new capacity model:

    docs.microsoft.com/.../whats-new-storage

    As file attribute are being treated as other attributes of an entity from the security perspective (and not stated differently on any public facing documentation I searched) I would expect it to follow the CDS / D365 security model.

    Similarly, deleting the record would delete the bits that attribute has stored.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
ManoVerse Profile Picture

ManoVerse 131 Super User 2026 Season 1

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans