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 :
Microsoft Dynamics AX (Archived)

Error throwing in Chain of Commands For Form Extension Classes

(0) ShareShare
ReportReport
Posted on by

Hi All,

There seems to be error raising when trying to use chain of Commands for methods in form Level DataSource.
Example table 1 is present in formdatasource with overrided method ExecuteQuery and I am trying to use chain of commands for executequery In my Extension Class.

7282.coc.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Fedir Kryvyi Profile Picture
    1,026 on at

    It happens because your class is extending Form object, and DS is just a part of that object so technically you are not extending DS. You should use event handlers  in this particular case

  • Community Member Profile Picture
    on at

    Thank you so much Fedir.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans