2

In Salesforce Lightning, all pages are opened as iframes, so the issue of inability to access the parent page URL arises, but I would like to know if there are any work-arounds.

My requirement is to pass the URL as callback URL, so that I can come back to the same page, it currently opens the Visualforce page in full browser window without any navigation as the URL is classic URL (/apex/pagename)

Page URL in Lightning VF Tab

0
window.location.href = "/"+cmp.get("v.caseRecordId");

Write this line in js ctr function to go back to the record page.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.