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

Notifications

Announcements

No record found.

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 244
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,390 Super User 2025 Season 2 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,039 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans