Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / handle temporary table...
Finance forum

handle temporary table in form extension

Posted on by 543

Hi all,

I like to insert a new datasource (for example tempTable) on an existing form. So I create a FormExtension to declare the new DataSource. This datasource should be a temporary table. Until D365FO I have to set this table to a temporary one in init-method of Datasource like tempTable.setTmp() (if table is not set to tempDB in setup). In D365FO I set the datasource to tempTable.setTmp() in datasource-eventhandler onInitialized() and tempTable.setTempData(data) in my form-extension-class... it does'nt work, there are no records shown in the form... What's going wrong?

  • Christian Busche Profile Picture
    Christian Busche 543 on at
    RE: handle temporary table in form extension

    Hi Baber,

    I have since changed the company, so I no longer have access to a possible solution.... Sorry...

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: handle temporary table in form extension

    Hi Christian,

    Have you been able to resolved this issue ? I am also trying to use temp table on Form extension and it is not working for me.

    Thanks,

  • Christian Busche Profile Picture
    Christian Busche 543 on at
    RE: handle temporary table in form extension

    Hi,

    as I wrote, I set the table to TempTable in datasource-eventhandler onInitialized() and yes, I have data... ;-) but they won't shown in the grid...

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans