Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Extension class of for...
Finance forum
Answered

Extension class of form datasource field method

Posted on by Microsoft Employee

 I am not able to get datasource table buffer in extension class of form datasource field method.

Could someone please suggest me how can get salesLine table in below method.

DS-field-method.JPG

Thanks!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Extension class of form datasource field method

    Thanks Sukrut.

    I need to use element. When I use "this" it's not working.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Extension class of form datasource field method

    Hi Nikolaos,

    Thank you so much for your help! It worked.

  • Sukrut Parab Profile Picture
    Sukrut Parab 71,643 Moderator on at
    RE: Extension class of form datasource field method

    Try

    SalesLine    saleslineLoc = this

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: Extension class of form datasource field method

    Try "element." to access any controls and data sources of the underlying form.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans