I need help or guidance on how to achieve 'reloading page on object after a related object gets updated'. I've tried platform event with a lightning component listening on the record page but just can't get these to work. I've researched all kinds of solutions, spent weeks trying to implement without success.
This is the behavior I am trying to streamline for the user to make it a better experience.
- The user clicks on a Conga Composer button to create a Conga Sign Transaction (related to Opportunity) for that specific Opportunity. The button is on the Opportunity object detail page.
- Once the flow from that button completes, the info on the Opportunity's related list Conga Transaction gets updated.
- During that Conga Sign Transaction flow custom fields from the Opportunity object also get updated.
- However, the only way the users can see those update, the user must do RELOAD (Ctrl + R) for the updated fields to display.
- I need to enhance the user experience by getting that RELOAD (Ctrl + R) to happen automatically and maybe display a toast message that the update has been completed.
I spent hours stepping through the details of my code via debug console. All seems to get updated as expected.
I learned VS Code and Salesforce Code Builder and I tried creating Platform Event after the Conga Sign flow runs. I attempted to write a first attempt LWC component which I add to the Opportunity record page in order to trigger the reload when a Platform Event is created.
Any hint will be appreciated to at least guide me in the right direction.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744831143a4596087.html
评论列表(0条)