0

I have lightning community configured with lightning component. In that component there is a button called 'redirectToResponse'.

This button is redirecting to visual force page with "https://CommunityURL/siteprefix/s/apex/avTestMyPage?Id=a0P1J00000YUjs6UAD&retURL=%2Fhome%2Fhome.jsp" URL.

So when user click on that button it shows "Invalid Page" page error.

Is there any way we can redirect to visual force page with URL from lightning component in lightning community?

0

call visualforce page from lightning component like this

<a href="/apex/avTestMyPage" style="width:100px; text-decoration: none; padding: 1% 6%;" target="_blank">{!$Label.buttonlabel}</a>

this will work same as button just give css accordingly

| improve this answer | |

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.