Skip to main content

Questions tagged [refresh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

RefreshEvent doesn't refresh standard RelatedList

@api recordId; filiale; accManager; pbName; pbId; get statutAffectation() { return "PR"; } connectedCallback() { setTimeout(() => { getRecord({recordId: this.recordId}) ...
Fark's user avatar
  • 27
0 votes
1 answer
310 views

Can I call notifyRecordUpdateAvailable method in the function called in onsuccess handler of lightning-record-edit-form?

I have a lightning-record-edit-form in which I am editing a record. Once the record is updated successfully, I want to refresh the related lists automatically on the record page. Can I use ...
Celsy's user avatar
  • 1
1 vote
0 answers
21 views

Why is refreshtable() not working for my LWC? [duplicate]

quick TLDR on what I'm building: This is a standalone app that queries a list of accounts with incorrect hierarchy data, wires them into a function that does some formatting and pruning, and ...
Chris's user avatar
  • 61
1 vote
1 answer
3k 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 (...
mackmama's user avatar
  • 709
0 votes
1 answer
254 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 ...
Akash's user avatar
  • 361
1 vote
0 answers
521 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, ...
ApexNewbie's user avatar
0 votes
1 answer
610 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 ...
Maverick's user avatar
2 votes
1 answer
472 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 ...
Naveen's user avatar
  • 65
3 votes
1 answer
12k 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,...
Ben2pop's user avatar
  • 425
0 votes
3 answers
3k 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=&...
molinet's user avatar
  • 925
1 vote
1 answer
18k 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 ...
CPS's user avatar
  • 355
1 vote
1 answer
2k 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 ...
dboychev's user avatar
-1 votes
1 answer
3k 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 ...
Vinay Chauhan's user avatar
0 votes
1 answer
2k 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/...
Raghu's user avatar
  • 9
0 votes
1 answer
5k 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 ...
joacoiudica's user avatar
0 votes
1 answer
943 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 ...
dan's user avatar
  • 355
1 vote
1 answer
1k 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 ...
jbyrd's user avatar
  • 641
0 votes
0 answers
780 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 ...
j1992b's user avatar
  • 29
0 votes
1 answer
419 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....
Sarah's user avatar
  • 15
1 vote
1 answer
1k 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....
molinet's user avatar
  • 925
1 vote
0 answers
303 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&...
Nicolás Abondano's user avatar
0 votes
1 answer
1k 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 ...
sfdc1100's user avatar
2 votes
0 answers
516 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 ...
Raphael D's user avatar
  • 616
0 votes
1 answer
219 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 .
Somnath's user avatar
  • 15
0 votes
1 answer
592 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 ...
Martin's user avatar
  • 3
1 vote
1 answer
2k 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 ...
Tapas Mukherjee's user avatar
0 votes
0 answers
349 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 ...
Sindhuja's user avatar
  • 155
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. ...
skycafe's user avatar
  • 397
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 ...
Moni Jaiswal's user avatar
0 votes
0 answers
190 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 ...
Balaji Pooruli's user avatar
3 votes
1 answer
612 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&...
SFDCDJ's user avatar
  • 1,874
1 vote
1 answer
2k 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 ...
Ed T.'s user avatar
  • 61
1 vote
0 answers
270 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 ...
molinet's user avatar
  • 925
0 votes
1 answer
645 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 =...
sfdcLearner's user avatar
1 vote
3 answers
8k 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 ...
sfdcLearner's user avatar
0 votes
1 answer
2k 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, ...
Irene's user avatar
  • 1,849
3 votes
0 answers
608 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://...
Jake Hebert's user avatar
2 votes
0 answers
565 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 ...
Hareesh Mohan's user avatar
1 vote
1 answer
518 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 ...
user78368's user avatar
6 votes
2 answers
7k 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. ...
Isuru Buddhika Herath's user avatar
2 votes
1 answer
5k 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/...
molinet's user avatar
  • 925
2 votes
3 answers
2k 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 [email protected] (that's the only user I have access to on prod). Then we have 2 developer ...
Bartosz Beli PL's user avatar
1 vote
2 answers
2k 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 ...
Merri Furlong's user avatar
5 votes
2 answers
10k 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="{...
Pasan Eeriyagama's user avatar
12 votes
4 answers
40k 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)...
Phil W's user avatar
  • 36.9k
2 votes
0 answers
51 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 ...
Rao's user avatar
  • 16.7k
-3 votes
1 answer
632 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 ...
Raghu's user avatar
  • 39
0 votes
1 answer
167 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 ...
Raghu's user avatar
  • 39
0 votes
2 answers
3k 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={...
Arthlete's user avatar
  • 4,917
0 votes
1 answer
2k 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 ...
Ajith Kumar's user avatar