Skip to main content
Sameer Prasonn Barath (HCLTech) 님이 * Lightning Now! *에 글을 올렸습니다

Hi Everyone,

 

I'm working on a lightning page layout, which has a button which opens some other component called "update call". This updates all component is actually updating the record details. Now one important thing that this update call is using some callouts in order to complete the process. once the process is done. It will redirect us to the standard detail page. This record detail page is showing strange behavior so time the record details is showing the updated data however mostly it won't display the updated data.

I tried doing following things : 

1. already used refreshView so that it will reload the data however I believe it is going to refresh the update call component not the standard record detail component which is available on the page.

 

Any help will be highly appreciated. 

 

Thank you in advance.

댓글 3개
  1. 2018년 5월 29일 오후 9:23

    refreshView will reload the components on the page, however components that use cache (e.g. Record Detail), will still use cached data if it exists. There have been discussions for a ignore cache option but right now we don't have one as there are downsides and a philosophical debate around providing this as there is a large chance everyone starts using it and then it will make cache useless.

    Does the 'other component' mentioned hook up into Lightning Data Service

    @Sameer Prasonn Barath?
0/9000