Skip to main content

Notifications

Announcements

No record found.

Power Platform integration forum
Unanswered

PCF Button Control is closing CRM Form

Posted on by 3,962

I have developed one PCF control with 2 textboxes & one button. I have added that PCF control on Account form. On button click, I am creating a record into CRM. Here, record is getting created, but post button click, account form is getting closed & CRM opens default dashboard screen automatically. How can I prevent this? I want to stay on Account form post button click.

  • RE: PCF Button Control is closing CRM Form

    Hi @SheetalVeer , 

     

    This is not a designed behaviour.

    I would expect something in the PCF itself causing a crash.
    Do you do something else, besides creating an Account record (the form shouldn't be aware of this, right)?

    Do you use the webAPI feature of the PCF control?

    Kind regards,

    Diana

     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans