0

Salesforce – LWC – refreshView

 1 year ago
source link: https://cwestblog.com/2022/12/18/salesforce-lwc-refresh-view/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

When writing an Aura Lightning Component you can use the following to update data for standard components as detailed on this page:

Unfortunately, with Lightning Web Components you cannot run the above code as is. Fortunately, you can easily modify the above to make it work in an LWC. All you have to do is leverage eval():

Hopefully this quick snippet works for you. Happy coding! 😎


Leave a Reply Cancel reply

placeholder.jpg
Name *
Email *
Website

Save my name, email, and website in this browser for the next time I comment.

 −  four  =  2

What's on your mind?

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK