I have a lightning component that implements isURLAddressible and it is invoked with a button from lightning case record page.
The button opens a lightning modal that creates opportunity record.

Modal contains few input boxes. Many of them are prefilled from the Case record page.

The problem I am facing is that, Once I fill the modal and save/cancel it, again if I try to click on the button the data entered earlier are prefilled irrespective if anything changed in case record page. I tried couple of things and they did not work. This problem gets resolved if I refresh the case record page manually.

  1. Unchecked "Enable secure and persistent browser caching to improve performance".
  2. Destroyed the component after saving/cancelling the modal. - When I destroy the component, the modal does not appear when I click on the button. I have to refresh the record page again for the new modal to appear.

Let me know if you need more details.Thanks for your time

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.