How to Add SharePoint Document Columns to D365 Document-Associated Grid View

A SharePoint Document interface, integrated with Dynamics 365 Customer Engagement, displays a grid with columns for Name, Type, State, Customizable, and Description. The Document Associated Grid row is highlighted among five CRM items.

Table of Contents

A middle-aged man with short dark hair smiles at the camera in front of a dark, out-of-focus background with partial red and white text. He is wearing a light-colored collared shirt, ready to discuss Dynamics 365 Customer Engagement solutions.
By Rachel Mantei, Dynamics 365 Technical Consultant


Need to add metadata to the D365 Document Associated Grid connected to the SharePoint Document Library? We ran across this use case when a client needed to add a column that shows how many files are within each folder within SharePoint.

To add additional fields to the Document Associated Grid view you will need to:

  • Navigate to the solution
  • Add the “SharePoint Document” table to the solution
  • Once the table is added, open the table, and navigate to the viewsMSDC1
  • On the top navigation, select “Add Subcomponents”MSDC2
  • In the new window, you will look for the view named, “Document Associated Grid”, select “Finish” MSDC3
  • Open the Document Associated Grid
  • In the new window, click on “Add columns” on the right navigationMSDC4
  • Select the columns that you would like to add to the view (in our case, our client wanted to view the file count within the folders. So, we will select Child Item Count). Select “Ok”.MSDC5
  • Move the column to the location you want it in the view by clicking the arrows left or right on the right-hand navigation. Save & Close, then publish.
  • You will now see the Child Item Count (or the columns that you chose) on your Documents Associated Grid.MSDC6

We’re always ready to help you get the most out of your Dynamics 365 solutions. If you have questions about the above scenario or other D365 functions, please reach out via the form below.

Author

Join the Community

If you found this blog helpful, subscribe to receive our monthly updates.

Table of Contents
Share with your network

What our Customers Say