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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

PCF Button Control is closing CRM Form

(0) ShareShare
ReportReport
Posted on by 8

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.

I have the same question (0)
  • Power Platform Communities Profile Picture
    8 on at

    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

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 144

#2
11manish Profile Picture

11manish 134

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans