Questions tagged [refresh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
85 views

LWC refresh every time tab is clicked

I have a requirement that says "every" time a user clicks back to a tab that shows my LWC that it is updated. So this LWC is a custom listview. The user can click away from the LWC (...
  • 563
0 votes
1 answer
82 views

Refresh Aura component when a standard field is saved on the record detail page

I have an aura component that has a few record edit form states and this needs to change when the stage field is changed when it is saved manually. How to achieve this? In other words I want to call ...
  • 329
0 votes
0 answers
19 views

How to refresh custom component on default record page after added Content Document Link?

I have custom component on Product2 where i displayed images of that product by using files from that product. When i add files (It's default funcionallity), I want to refresh this component to ...
1 vote
0 answers
153 views

Refresh Apex is not working

The refresh apex is not working after deleting the record. I don't know how to add the wire decorator to DeleteWolis method.. Can somebody help me to understand this? import { LightningElement, ...
0 votes
1 answer
139 views

Replicate Integrations after sandbox refresh

I have a full sandbox that has a few integrations with 3rd party vendors like lexis nexis, onespan, mainframe core(informatica updates), community portal. We want to refresh the SB from prod and then ...
2 votes
1 answer
86 views

How to use refreshApex on Parent Components?

what i am trying to achieve is, when i edit an account to active = 'Yes'. My LWC component show refresh dynamically and show that active account when i click show active accounts button, but its not ...
  • 55
3 votes
1 answer
3k views

Refresh a LWC after record data is edited

I have a LWC that should be dynamic based on the data of the record if a certain field is notNull then it will display a button and if is null, then it will not the thing is that when I update my data,...
  • 373
0 votes
0 answers
262 views

Aura component (observer): Refresh screen when record is changed

I want the record page to refresh when the Status__c custom field on the Custom object changes So Ive built an Aura Component (and added to the record page) which is displaying "test" only ...
0 votes
2 answers
2k views

Refresh LWC (record page) when record is updated

I'm trying to find a way to refresh a custom lwc that's embedded into my record page but I can't find a way to properly achieve this. I know you can handle this with aura using <aura:handler event=&...
  • 823
0 votes
0 answers
83 views

Datatable is not refreshing when subflow updates the record

I have LWC on the Flow Screen. LWC contains datatable and on each row, I have a button with action. When the user clicks the button user will be navigated to the next step in the flow which is subflow....
1 vote
0 answers
12k views

Reload/refresh just a LWC without reloading all record page

I have a LWC included inside the Case Record Page. I need that when I edit an element (I mean, when I update a record) in the LWC Salesforce does refresh just for the isolated LWC and not all the Case ...
  • 185
1 vote
1 answer
1k views

How to handle save on Lightning Record Page using LWC?

I am working on a Lightning Web Component that is placed on record page and retrieves data for the record. The component visualizes two links, represented by lightning-formatted-text. Both links use a ...
-2 votes
1 answer
1k views

It is Possible to Generate Access Token without using Username and Password? [closed]

There is any way to generate Access Token Without Using Username and Password not even login on web form also ? Just Using Client Id ,Client Secret or other rather than including password Using REST ...
0 votes
0 answers
205 views

How to destroy Parent Aura and Child LWC during record navigation?

I have overridden Standard New button on lead object with Aura Component and this Aura calls LWC which contains record edit form to create new lead record but here I am making a server call to create ...
  • 89
0 votes
1 answer
977 views

LWC Data Table not getting refreshed on click of delete button

LWC Data table is not getting refreshed on delete of a row. code below: import { LightningElement,wire,track,api } from 'lwc'; import distProfileShareList from '@salesforce/apex/...
  • 9
0 votes
1 answer
2k views

lwc component does not refresh when navigating back to it from record page

So, I have a lwc component, that is accessed via related list. When I enter the record page, and navigate to the lwc, everything works fine. Then, if I do something on that lwc, save and navigate back ...
0 votes
1 answer
465 views

How to skip files while refreshing full copy sandbox?

Not having a chance to exercise on production I need to recommend our administrator steps to initiate full copy sandbox refresh process. We would like to not to copy files from production. Is there a ...
  • 345
1 vote
1 answer
468 views

"Refresh Tab" Works For Subtab, But Not Main Tab

I've created an LWC wrapped in an Aura Component so that I can navigate directly to it as a tab (see 2nd part of answer here). Everything works just fine, except that: when I'm 1) opening it as a ...
  • 581
0 votes
0 answers
677 views

Save changes and Reload Browser with the same button

Hello I've been working on a LWC for some months already, I'm close to finally finish it, for this I want to be able to save the changes of a LWC dual list box, once it's saved I'd like to refresh the ...
  • 29
0 votes
1 answer
91 views

Resetting page while displaying success message

I am trying to reset/refresh my page on my form. I want to refresh the page and then successfully display the success message however, it is only refreshing the page. The success message fails to load....
  • 15
1 vote
1 answer
822 views

LWC refresh data each time a new record is inserted

I have a custom lwc that has a wire call that retrieves a list of records and some required information to be displayed: @AuraEnabled(Cacheable=true) public static InterPlanetaryCasesController....
  • 823
1 vote
0 answers
157 views

Change record id of lightning-record-form

I want to change the ID of the form but it doesn't load the new record. I have something like this: <div class="slds-modal__content slds-var-p-around_medium" id="modal-content-id-1&...
0 votes
1 answer
862 views

How to refresh the custom LWC when record is created from related tab

I have Obj_A and Obj_B. In the record page, I have a related tab(Obj_B) from which I create new record. In the same record page(Obj_A), I have a custom LWC embedded. Now If I create a record using New ...
2 votes
0 answers
261 views

Refresh sub tab when open It

I have a quick action button on Opportunity that called Create Offers which call a Lightning Component that create Offers and open the related list(Offers__r) in a sub tab. This code working, but ...
  • 483
0 votes
1 answer
118 views

How can we restrict managed package not to installed by default in sandbox when refresh sandbox or created from production

How can we restrict managed package not to installed by default in sandbox when refresh sandbox or created from production .
  • 15
0 votes
1 answer
402 views

Rerender files related list on opportunity record page after creating content document link

I use a LWC on an opportunity record page to create a pdf document that is then converted to a base64 string. From this a ContentVersion object is created and a ContentDocumentLink from an imperative ...
  • 3
1 vote
1 answer
876 views

Refresh an LWC component from another LWC component with no child parent relation

In my opportunity record page I have added 2 different LWC component. componentA is updating the opportunity fields. componentB is displaying some messages based on the opportunity fields. These ...
0 votes
0 answers
239 views

Updating lightning web component on record update

I have a lightning web component added to a custom object's lightning record page.That lightning record page also has standard record detail as one of the components.Whenever record is updated using ...
  • 113
0 votes
1 answer
2k views

LWC: Chained property not refreshing

I chained two wires to get a sales rep’s name, but the name does not refresh. This Lightning Web Component displays account information. Account has a User lookup field called Sales_Representative__c. ...
  • 322
0 votes
2 answers
2k views

LWC tab is not getting refreshed after switching to another tab

I have LWC component tab "DealSearch" to search the records based on "searchstring". After getting search result on DealSearch tab, I am switching from the LWC tab to another tab ...
0 votes
0 answers
99 views

Lightning Page Refresh component erroring out

We have a lightning page where a section is getting updated via a third party webservice. In order to show the updated values, we have a lightning component to refresh the page once the values are ...
3 votes
1 answer
421 views

LWC Button Icon Name is not displayed sometime during page load:

I have created below LWC Button with icon-name. <template> <div class="slds slds-p-around--medium"> <lightning-card class="slds-theme_shade wrapper&...
1 vote
1 answer
1k views

Pros and Cons of Sandbox delete vs refresh

Our partial sandbox is out of date, and before undertaking a new project, our developers suggest deleting the sandbox completely and create from scratch instead of refreshing and renaming it. Can ...
  • 61
1 vote
0 answers
183 views

force:refreshView doesn't refresh record related lists as community user

I have a custom lightning component that, after some operations, do a $A.get("e.force:refreshView").fire() but it's refreshing everything except the current record related lists. I've read this is ...
  • 823
0 votes
1 answer
426 views

I am using publish-subscribe model to get the data from one lwc component to another lwc component

in my component B after saving the data to the database I am creating a publish call as shown: handleSubmit(){ var dataList = {}; dataList.Id = this.data[0].Id; dataList.Name =...
0 votes
3 answers
5k views

How to refresh one component from another component that saves the record in lwc

I have Component A that Shows the details of the record. The Details are coming from apex Controller. I have Component B that has a lightining-button which on click shows a Modal for editing the same ...
0 votes
1 answer
1k views

LWC - how to refresh radio button group after handleEvent & Submit button completed?

I have an LWC component that displays a radio button group - on selecting an option it displays a message as to what processing will happen when the Submit button is clicked. On clicking the button, ...
  • 1,455
3 votes
0 answers
430 views

Sandbox PostCopy script does not fire on refresh

It sounds like other people out there have made this work, so safe to say mine is not firing due to me doing something wrong although it seems like I'm spot on from the documentation here: https://...
2 votes
0 answers
417 views

Handling tabRefreshed event in LWC

I am in need of refreshing the LWC component when user clicks on 'Refresh Tab' action in a console application. I coundn't find a way of handling the tabRefreshed event in LWC components. 1. What I ...
1 vote
1 answer
414 views

Tab refresh is not working in lighting component

Controller: handleSuccess : function(component, event, helper) { var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({"title": "Success!","message": "The property's ...
5 votes
2 answers
5k views

How to handle events from LWC datatable custom data types

I have created lightning data table MyLightningDataTable with a custom data type. This custom datatable is a child component of MyDataGroup component and MyDataGroup is a child of MyData component. ...
2 votes
1 answer
4k views

refreshApex in lwc doesn't seem to work

I have a custom lwc that works with refresh apex. I want a method to be refreshed from another function js: import {refreshApex} from '@salesforce/apex'; import initData from '@salesforce/apex/...
  • 823
2 votes
3 answers
1k views

Sandbox refreshed from another sandbox doesn't have active users

I can't believe it happened but I did it... Let's assume following scenario - we have Production org with user1@example.com (that's the only user I have access to on prod). Then we have 2 developer ...
0 votes
1 answer
1k views

Is there a way to force a mass refresh prices on old quotes in CPQ?

Rather than relying on the user to click the "Refresh Prices" button, is there a way that Admins can force a "Mass Refresh Prices" on older quotes? We need to insert the new list price, because our ...
4 votes
2 answers
9k views

How do you Expand All/Collapse All in lightning:accordion

I'm trying to Expand All/Hide All in lightning:accordion Lightning aura component. <aura:iteration items="{!v.pboW.listPb}" var="pbW"> <lightning:accordionSection name="{...
12 votes
4 answers
33k views

How to get an LWC component on a record page to refresh when that page is updated

This is my version of Dana's question: I have an LWC component that is dropped into a record page (it accepts the recordId property and this is automatically populated by the flexipage infrastructure)...
  • 31.4k
2 votes
0 answers
41 views

Event to trigger related list data change

I see that there is a force:refereshview handler event that i can use to handle refreshview The challenge is when the related list is edited the refreshview does not fire consistently(Observed this ...
  • 16.6k
-3 votes
1 answer
425 views

Records are not displaying immediately,It needs to refresh page again.How can I display records without refreshing page?

I'm trying to display records in panel2 after clicking a button in panel 1.But records are not displaying immediately after clicking a button.Initially panel2 displays empty,after refreshing page ...
  • 41
0 votes
1 answer
113 views

Data doesn't display immediately after clicking a button.It takes manually refresh page again

I tried a lot to resolving this issue but not able to achieving the requirement.Please help me on this After Clicking a button in Panel 1,It navigates to Panel 2 and Initially it displays panel 2 as ...
  • 41
0 votes
2 answers
2k views

LWC: @track binding won't refresh component on value change

I have a component that picks up the value originally from the JS controller but won't refresh after I modify the value in the JS file. Component: <template> <div class={...
  • 4,621