web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Basic Dialog Form fields

(1) ShareShare
ReportReport
Posted on by 114
I have a form (QuotationTask) that has a pattern Details Transactions that has header and line and I made a dialog form with pattern Basic-Dialog that opens when I click new in the QuotationTaskForm..
 
The problem is: The fields of the dialog form always read the first record!
I have tried to override the initValue of the datasource but it doesn't help.. 
 
 
This is the dialog form.
 
I have the same question (0)
  • Waed Ayyad Profile Picture
    9,100 Super User 2026 Season 1 on at
    Hi,
     
    In the menu item of the dialog form set the Copy Caller Query property to yes.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Abdullah_Ahmed Profile Picture
    114 on at
    I'm sorry but how setting Copy Caller Query property to yes helps? because it now opens the cursor record in the QuotaionTask form.. I wanna set a new QuotationId and different values for other fields!
  • Verified answer
    Waed Ayyad Profile Picture
    9,100 Super User 2026 Season 1 on at
    Hi,
     
    Do you mean you want the function of the form to create new records? If yes, then set copy caller query to No and modify the Open mode property on the menu item to New.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
  • Verified answer
    Martin Dráb Profile Picture
    239,142 Most Valuable Professional on at
    It seems that you want to create a new record. You have two options:
    1. Either don't use any data source at all. Use unbound dialog fields and create a record in code when closing the dialog.
    2. Or, if you want to use a data source, create a new record (myDataSource.create()). The default behavior of data sources is that they load existing records (according to the form query) and you need to create a new record (e.g. by pressing Ctrl+N) top create a new record. Here you'll do it in code.
  • Waed Ayyad Profile Picture
    9,100 Super User 2026 Season 1 on at
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Abdullah_Ahmed Profile Picture
    114 on at
    It's resolved.. I'm marking the answers but I don't know why it isn't reflecting on the system!
     
    thank you guys so much for your help
  • Anton Venter Profile Picture
    20,678 Super User 2026 Season 1 on at
    Which answer was the solution? I can mark it as the correct answer (hopefully it will reflect correctly).
  • Abdullah_Ahmed Profile Picture
    114 on at
    The 3rd and 4th replies answer the main question.. thank you all

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 649

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 447 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 242 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans