cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SheetalVeer
New Member

PCF Button Control is closing CRM Form

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.

1 REPLY 1
DianaBirkelbach
Super User
Super User

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

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (21,553)