Questions tagged [refresh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 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 ...
0
votes
1answer
28 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/...
0
votes
1answer
69 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
1answer
27 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 ...
0
votes
0answers
66 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 ...
0
votes
0answers
28 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 ...
0
votes
1answer
25 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....
1
vote
1answer
217 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....
1
vote
0answers
32 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
1answer
136 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
0answers
106 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 ...
0
votes
1answer
16 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 .
0
votes
1answer
89 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 ...
1
vote
1answer
325 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
0answers
72 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 ...
0
votes
1answer
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. ...
0
votes
2answers
814 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
0answers
39 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
1answer
291 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
1answer
316 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 ...
1
vote
0answers
107 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 ...
0
votes
1answer
238 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
2answers
3k 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
1answer
791 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, ...
3
votes
0answers
255 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
0answers
249 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
1answer
185 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 ...
2
votes
2answers
3k 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
1answer
3k 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/...
1
vote
3answers
833 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
1answer
694 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 ...
3
votes
2answers
6k 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="{...
10
votes
3answers
24k 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)...
2
votes
0answers
30 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 ...
-3
votes
1answer
155 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 ...
0
votes
1answer
70 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 ...
0
votes
2answers
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={...
0
votes
1answer
247 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 ...
0
votes
1answer
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 ...
0
votes
1answer
187 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="...
2
votes
3answers
10k 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 ...
0
votes
0answers
135 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 ...
9
votes
3answers
12k views

refreshView for Lightning Web Component?

Whats the lwc equivalent of this aura event? $A.get('e.force:refreshView').fire();
0
votes
1answer
617 views

Refresh standard page in Lightning Experience

I have a formula data field on an object which is not reflecting updated values when viewing it in Lightning. This is directly related to the known issue https://success.salesforce.com/issues_view?id=...
0
votes
2answers
964 views

callback action from e.force:editRecord

I'm migrating some functionality from classic to lightning and need to replace javascript button which will redirect to standard edit page. I'm using Quick Action for that calling component which ...
2
votes
2answers
664 views

Managed package version on Sandbox refresh?

Our Sandbox has a newer version of a Managed Package than production. If we refresh our Sandbox from Production, will it revert the Sandbox to the older version? Thanks
1
vote
1answer
181 views

Setting up data post refresh of partial copy sandbox. How to satisfy master details relationships without manual effors

We have a plan to refresh one of our partial copy sandbox. we would like to set up all data as it is post refresh as there any many UAT data in sandbox. I searched and found Template based refresh but ...
2
votes
1answer
701 views

Lightning Refresh Console Tab to New Record Type Flexipage

I have a different lightning flexipage intended for different record types. When I click a button on the page it changes the record type (using apex). When I get back from the action I want to refresh ...
0
votes
1answer
124 views

How to show custom message when reloading the page

I have a custom VF page. When the page is refreshed, i need to display custom message in page "There is no record to save". when i am clicking save button message will be displaying. But i need ...
2
votes
1answer
54 views

How to update (refresh) an Account using a Hyperlink and VFP? [closed]

On the Account page I am using a Hyperlink "change" to ge to a VFP (Standardcontroller) only. On the VFP I have two fields to change a number. With classic it works well because I get the number ...