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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Subra Profile Picture

Subra 409

#3
Martin Dráb Profile Picture

Martin Dráb 280 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans