Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

How to call FormDatasource Method in Extension class.

Posted on by Microsoft Employee

I'm modifying the standard foam. (PurchJournalSelect_PackingSlip)

I need to add a check button to create a function to check or uncheck all the Include check boxes shown in Grid.

However, the problem is that the 'Include' check box in Grid is not a field, but a method of FormDatasource.

q111.png

q222.png

  • atajjo Profile Picture
    atajjo 509 on at
    RE: D365 FOE) How to call FormDatasource Method in Extension class.

    If you're extending the data source you should be able to call the method like below

    this.included();

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans