Skip to main content

Notifications

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

  • Verified answer
    ergun sahin Profile Picture
    8,816 Moderator on at
    RE: what's the usage of linkactive() method

    "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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Martin Dráb Profile Picture

Martin Dráb 456 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 310

#3
Saalim Ansari Profile Picture

Saalim Ansari 261

Overall leaderboard

Product updates

Dynamics 365 release plans