function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajesh T 19Rajesh T 19 

How to re-direct the entire page on Community when user clicks button on banner section ?

I have created cutom button which invoke the VF page has Aura component and placed this button on community Case's Record banner section. If User clicks the button system show the pop-up and here user clicks cancel button the page should re-direct to case record page. However it re-direct to record page but it was happening on the Banner section and entire page is not redirected where it shows two header section in the page as below,
User-added image
I have used below code to re-direct but it behaving as above and not working.
window.location.href = '/'+caseId;

Can anyonev help me on how to reload the entire page to re-direct to case record page on Community ?