Questions tagged [refresh]
The refresh tag has no usage guidance.
125
questions
0
votes
1
answer
95
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 ...
1
vote
0
answers
20
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 ...
0
votes
0
answers
91
views
Refresh LWC after Custom Object standard Edit
On a Lightning record page, I have an LWC that should show changes if they are made when clicking the standard Edit button/functionality. I've been able to achieve this before when I can create a ...
0
votes
0
answers
39
views
Page updated using boolean
This code is for a Lightning Web Component that displays a bar and line chart .
The graph displays the volumes for a year selected from a drop-down list.
The component also uses a button to refresh ...
1
vote
1
answer
2k
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 (...
0
votes
1
answer
194
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 ...
0
votes
0
answers
33
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
459
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
420
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
303
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 ...
3
votes
1
answer
10k
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,...
0
votes
3
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=&...
1
vote
1
answer
15k
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 ...
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 ...
-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 ...
0
votes
1
answer
1k
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
1
answer
4k
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
770
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 ...
1
vote
1
answer
855
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
0
answers
740
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
1
answer
328
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
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....
1
vote
0
answers
262
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
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 ...
2
votes
0
answers
439
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
1
answer
190
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
1
answer
509
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
1
answer
1k
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
327
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
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.
...
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
166
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
551
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 ...
1
vote
0
answers
257
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
1
answer
560
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
7k
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
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, ...
3
votes
0
answers
549
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
531
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
497
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 ...
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.
...
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/...
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 ...
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 ...
4
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="{...
12
votes
4
answers
37k
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
0
answers
47
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
1
answer
568
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
1
answer
150
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 ...