Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

PCF - Custom Dialog with a submit button

Posted on by 873

Hello everyone,

In a table ribbon, I have a custom button. When I click on this button I would like to launch a dialogue box that will contain inside it a text field and a submit button.
When the submit button is clicked inside the dialogue I want to create around 1k records in a table.

I did some research and found that custom pages using powerapps canvas will allow us to create this dialogue:
https://dianabirkelbach.wordpress.com/?s=dialog.
However, If I want to proceed with powerapps canvas to build this dialogue, later the number of records will grow that should be created in the other table and I don’t think the power apps canvas will be the solution as I might have more complex logic to validate data before doing the creation of the records.

I want to know what are the options that will allow me to create a dialogue using PCF control since PCF it’s more flexible than canvas while calling the web API to create large set of records, do some logic validations, and so on.

Also, I thought about an option and I would like to know if it's possible:
I could create the dialogue using Canvas since it will be much easier than PCF to customize and design but will it be possible when the submit button is clicked to call/execute a webAPI or a plugin that should perform the create operation?

Could you please provide an example of the above or documentation that shows how to create a custom dialogue and call a web API using PCF control?

Any help is highly appreciated!

Best regards,
EBMRay

  • EBMRay Profile Picture
    EBMRay 873 on at
    RE: PCF - Custom Dialog with a submit button

    Hi ,

    Thank you for sharing the above links.

    I wanted to ask you about the background process that should be triggered to perform the creation of the records other than taking into consideration Power Automate or a Plugin due to 2 mins timeout.

    What is the handy tool that we should use to develop our logic on which will trigger to create the records in the background?

    Looking forward to your response.

    Best regards,

    EBMRay

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: PCF - Custom Dialog with a submit button

    Hi EBMRay:

    For PCF control, you may refer the following link:

    New Dialog Builder PCF Custom Control for Dynamics 365 AppSource | Magnetism Solutions | NZ (Auckland, Wellington, Christchurch and Dunedin)

    For information about canvas, you may post thread in following forum for further help:

    Forums - Power Platform Community (microsoft.com)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans