Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Dialog Form Updates Existing Record Instead of Inserting a New Record

(1) ShareShare
ReportReport
Posted on by 39

I am creating a Dialog-based form in Dynamics 365 Finance and Operations to add new records to a list page. However, whenever I try to add a new record, it updates the previous record instead of inserting a new one. How can I resolve this issue?

Categories:
  • Suggested answer
    Martin Dráb Profile Picture
    231,639 Most Valuable Professional on at
    Dialog Form Updates Existing Record Instead of Inserting a New Record
    Designing a chage of your solution is difficult, because you gave us almost no information about your implementation.
     
    If you have a regular form (not one created at runtime) and you want to run some code just before it's shown to a user, run() method above super() may be the right place.
  • Aditya Pal Profile Picture
    39 on at
    Dialog Form Updates Existing Record Instead of Inserting a New Record
    Thank sir for your response,you have understood my query can pls tell me where i can call create()
  • Martin Dráb Profile Picture
    231,639 Most Valuable Professional on at
    Dialog Form Updates Existing Record Instead of Inserting a New Record
    You didn't tell us anything about your implementation, but I guess you created a form with a data source, which automatically loads records from the table, and you see the first one. You said you wanted to create a new record, but you probably didn't do it. You can call create() record of the data source, for instance.
     
    Moved from Integration, Dataverse, and general topics forum.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,680 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,639 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans