Questions tagged [refresh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 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 ...
user avatar
0 votes
1 answer
31 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=&...
user avatar
  • 771
0 votes
0 answers
27 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....
user avatar
0 votes
0 answers
18 views

Refresh screen after input data on edit popup in Visualforce page with custom object

I have troubles that after I input data on edit popup, I need to F5 or reload page ===> new data is updated. I want to edit ==> click button save on edit popup, not have to reload the page and ...
user avatar
0 votes
0 answers
2k 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 ...
user avatar
  • 165
1 vote
1 answer
182 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 ...
user avatar
-2 votes
1 answer
275 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 ...
user avatar
0 votes
0 answers
79 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 ...
user avatar
  • 67
0 votes
1 answer
462 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/...
user avatar
  • 9
0 votes
1 answer
643 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 ...
user avatar
0 votes
1 answer
104 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 ...
user avatar
  • 335
0 votes
0 answers
165 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 ...
user avatar
  • 481
0 votes
0 answers
108 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 ...
user avatar
  • 29
0 votes
1 answer
31 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....
user avatar
  • 15
1 vote
1 answer
533 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....
user avatar
  • 771
1 vote
0 answers
71 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&...
user avatar
0 votes
1 answer
410 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 ...
user avatar
2 votes
0 answers
149 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 ...
user avatar
  • 433
0 votes
1 answer
53 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 .
user avatar
  • 15
0 votes
1 answer
181 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 ...
user avatar
  • 3
1 vote
1 answer
564 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 ...
user avatar
0 votes
0 answers
111 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 ...
user avatar
  • 113
0 votes
1 answer
1k 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. ...
user avatar
  • 322
0 votes
2 answers
1k 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 ...
user avatar
0 votes
0 answers
51 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 ...
user avatar
3 votes
1 answer
340 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&...
user avatar
1 vote
1 answer
551 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 ...
user avatar
  • 61
1 vote
0 answers
123 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 ...
user avatar
  • 771
0 votes
1 answer
305 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 =...
user avatar
0 votes
2 answers
4k 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 ...
user avatar
0 votes
1 answer
998 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, ...
user avatar
  • 1,377
3 votes
0 answers
294 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://...
user avatar
2 votes
0 answers
302 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 ...
user avatar
1 vote
1 answer
266 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 ...
user avatar
3 votes
2 answers
4k 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. ...
user avatar
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/...
user avatar
  • 771
1 vote
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 ...
user avatar
0 votes
1 answer
905 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 ...
user avatar
4 votes
2 answers
7k 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="{...
user avatar
12 votes
3 answers
28k 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)...
user avatar
  • 27.4k
2 votes
0 answers
39 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 ...
user avatar
  • 16.5k
-3 votes
1 answer
248 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 ...
user avatar
  • 41
0 votes
1 answer
79 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 ...
user avatar
  • 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={...
user avatar
  • 4,451
0 votes
1 answer
332 views

Delete all records and all objects and all components from Developer Org

Is it possible to wipe out everything from your dev org? Everything includes all records (custom as well as standard), all components like classes, triggers, etc, all workflows, profiles and ...
user avatar
0 votes
1 answer
1k views

Refresh lightning:tab on change

I Built a lightning component which is used in opportunity layout. This component used some child component as lightning tab. The problem is when I edit and change some value in first tab is not ...
user avatar
0 votes
1 answer
204 views

Output panel refresh Issue

I am calling a JS function to call a pagereference method . This Save button is in an Output panel. <apex:outputPanel rendered="{!step4}" id="cciPanel"> <div align="center" draggable="...
user avatar
2 votes
3 answers
11k views

e.force:refreshView not refreshing component view

I am using e.force:refreshView in order to refresh a custom component and it does not seem to be working. I am firing it when a flow finishes (that categorizes uploaded files) but the component does ...
user avatar
  • 701
0 votes
0 answers
197 views

Is it possible to create a custom button which causes related lists to refresh?

I would like to add a button to a page layout which when clicked would cause all the related lists to refresh. Is there a page event I can trigger to make this happen? Is is possible? How would I ...
user avatar
  • 8,272
10 votes
3 answers
15k views

refreshView for Lightning Web Component?

Whats the lwc equivalent of this aura event? $A.get('e.force:refreshView').fire();
user avatar
  • 101