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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

SharePoint Integration - Customize Edit File properties dialog

(2) ShareShare
ReportReport
Posted on by 905

Hello everyone,

I enabled the SharePoint integration for a custom entity. In the Documents tab where we upload the files inside the entity we have the functionality to edit the file properties and define the metadata for the file as below:

4251.SharePointProperties-Popup.png
As you see above when the properties dialog has launched the Title and Name fields are showing.

What I am trying to achieve is the below:

I have added a column called Expiry Date in SharePoint in the library for this entity.
SharePoint-Expiry-Date-column.png
Whenever the user uploads a file from the document grid tab that will be related to the record I want the user to be able to assign the expiry date for the document.

How can we customize the "Edit Properties" dialog to provide the expiry date field that has been created in the library?

Is it possible to achieve the above requirements? If so, could you please provide an example of a resource link that allows me to customize the dialog?
If it's not feasible, what can be the alternative solution to set expiration dates on any document that will be uploaded?

Any help is highly appreciated.

Best regards,
EBMRay

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    CRMJetty Profile Picture
    3,514 on at

    Hello,

    For the newly created item , we are able to change the expiry date without any issues.

    https://answers.microsoft.com/en-us/msoffice/forum/all/sharepoint-online-a-list-column-with-date-and-time/ba846fdf-e2bb-4764-a277-6fe8cfa33d02

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365

  • EBMRay Profile Picture
    905 on at

    Hello Maulik Shah ,

    Thank you for your reply.

    From SharePoint I can change it without any issues, but I meant from the Model-driven app I would like to set the Expiry date for the file and by not going to the SharePoint site to update the metadata of the file.

    How we can customize the "Edit Properties dialog" to make it work without going to the SharePoint site?

    Awating your response.

    Best regards,

    EBMRay

  • Verified answer
    Joergen Profile Picture
    455 on at

    Hi EBMRay,

    please have a look at this blog post by MVP Linn Zaw Win:

    SharePoint Document Upload in Dynamics 365/Microsoft Dataverse with Custom Field (Part 3 of 3) (linnzawwin.blogspot.com)

    You should read his complete series of blog posts about the SharePoint Integration in Model Driven Apps. The post above should be the one with the solution you are looking for. The Power Automate flow he is using is also provided by him in his GitHub repository.

    If this is helpful for you, please mark as verified.

    Best regards,
    Joergen

  • EBMRay Profile Picture
    905 on at

    Hello Joergen ,

    Thank you so much for providing the above blog post.

    This is exactly what I need and seems that I should create a custom button on the subgrid that will launch a dialog to set the metadata and trigger a flow on the background to update it directly in SharePoint.

    Best regards,
    EBMRay

  • OctMonica Profile Picture
    2 on at
    Sorry to bother you on this question in 2024!!! Just to ask, have you find a way to edit properties in your model driven app? I came across same issues now where I'd like to include a few columns to Edit Properties. Unsure whether it's doable or not.
     
    Much appreciated your sharing!
  • PN-13051647-0 Profile Picture
    2 on at
    Anyone figured this out without having to use PCF solution?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 62 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans