Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I am working on one requirement where we are processing some logic and filling temp table by selecting some records on form.Once we click a button- a class behind will process logic on selected records and fills a temp table with output. I have created a new dialog form which has this temp table as data source, and calling this form by using below code.
DialogRunbase dialogParameter = Dialog::newFormnameRunbase(formStr(customDialogForm),this);
dialogParameter = this.dialogInternal(dialogParameter);
This shows me a dialog with fields obviously with blank data. Now my question is how can I refresh this dialog form with latest temp table buffer. Possibly I need to use linkPhysicalTableInstance() to get the latest buffer, I am searching more.
Can anyone help me on this please?
Any response is appreciated!
You can create a button on the form which will create an instance of the class using x++ coding. Then you can also create a method on the class to pass the temporary table to a variable of the class.
Yes, linkPhysicalTableInstance() is the right method *if* the type of the table is TempDB.
If it's an InMemory table, you need setTmpData().
Nevertheless I wonder whether temporary table is the right choice. How will you pack the data to store for batch processing, for instance?
Thanks Andre, Martin!
As said linkPhysicalTableInstance() worked. Below is the code.
dialog = element.args().caller();
if (dialog && classIdGet(dialog.caller()) == classNum(callerClass))
callerClassObject = dialog.caller();
Business Applications communities