While trying to reuse the lightning experience in visualforce Page classic. A generic reusable button is built and been reused. However for visualforce we cannot use the same as overlaylibrary was embedded. As a workaround have tried e.force:navigateToComponent on button click to redirect. As per salesforce limitation this wont work too. Is there anyworkaround other than auraif/else as that will be a complex scenario.

    onCancel : function(cmp, event, helper) {
        var evt = $A.get("e.force:navigateToComponent");
        componentDef : "c:mycmp",
        componentAttributes: {
            ACB: "True",
            DEb : "abc",
            DEF : "gfj"

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.