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

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

[D365FO]: How could I add a DataSource to a ListPage Form and extend the "executeQuery" via COC?

(1) ShareShare
ReportReport
Posted on by 252
Hi,
 
I'm struggeling with the task to add a table to a listpage form (in my example the /ProdTableListPage/) with extension and modifiy the executeQuery of the added table with COC.
 
I tried to add the table to the underlying query of the listpage with a query extension: query name = /ProdTableListPage/:
 
//
 
Within the COC class the newly added datasource isn't valid:
 
Any hints?
Basti
 
I have the same question (1)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,767 Super User 2026 Season 1 on at
    Hi @Basti,
     
    You must create extension for the ProdTableListPage Query to add your new table.
    Then you can refresh your form extension.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Waed Ayyad Profile Picture
    9,061 Super User 2026 Season 1 on at
    Hi,

    Can you share your code? What do you mean by "Within the COC class the newly added datasource isn't valid:"?
     
    In case you want to add new table to list page you can create an extension of the Query and add your table and to it then you will be able to add the table Fields to the list page by creating an extension of the form.
     
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 673 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 280 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 213 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans