How to use a Visualforce page as a Component Lightning Community page?
Hello , I have a button in Lightning component and on click of it I want to redirect to a VF page. I am able to do that in App view , But when I drag the component into the community builder , it gives 404 error. and it does not work the way it should
Component Code
<input class="btnCss" type="button" name='button' value="Continue" onclick="{!c.getNextPage}"/>
</p>
Controller Code window.open("MyURL");
Issue is not with href or window.open , Issue is with community builder not allowing to open external pages .
Any suggestions/solutions