New answers tagged

0

To navigate to another url from within a lightening component you should use sforce.one.navigateToURL("Your_Url"); For Salesforce Classic you could still use window.location.href This is the documentation url for refrence https://help.salesforce.com/articleView?id=sf.lex_prepare_vf_window.htm&type=5


1

Assuming you are on a Visualforce page, you can remove the page parameters with that page's Apex controller. PageReference myPage = System.currentPageReference(); myPage.getParameters().remove('categoryId'); return myPage; This will get your current page that you are on. Then you can remove the page parameter from the URL. If this does not address your ...


Top 50 recent answers are included