
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.
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