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, ...
Answered

what's the usage of linkactive() method

(0) ShareShare
ReportReport
Posted on by 77

can anyone explain to me the usage of method linkactive() in datasource i need clear explanation please

I have the same question (0)
  • Verified answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    "This method is executed when a user moves to another record in the master data source. This causes an update to all linked data sources. The super() call in the FormDataSource.active method calls the FormDataSource.linkActive method on all linked child data sources if the LinkType property on the parent data source is set to Passive, Delayed, or Active. The linkActive method can be overridden on a form data source. Right-click the Methods node under the data source, point to Override Method, and then click linkActive."

    docs.microsoft.com/.../dynamics.ax.application.formdatasource.linkactive

    "About linkActive(), this method is used by dynalinks. For example, you open Vendors form and Invoices from Vendors. A dynalink exists between these two forms so you see just invoices for the active vendor. If you choose another vendor, dynalink functionality calls linkActive() method in Invoices form and shows right invoices."

    www.dynamicsuser.net/.../3

    "linkActive() Calls the FormDataSource.exeuteQuery method on data sources that are linked to the current data source. So, without it, the related data won’t get updated when you move to another record on the master data source."

    www.dynamicsuser.net/.../61268

    "The LinkActive is called when the active method in a dynalinked parent form is called. Commonly overridden to change the user interface to correspond to a different parent record (element.args().record())."

    www.dynamicsuser.net/.../28365

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans