I am writing one lightning component for JavaScript button. Can you please tell me how can we replace below code blocks in lightning?
window.open('test.html', 'formresult', 'scrollbars=yes, menubar=no, height=700, width=1250, resizable=yes, toolbar=no, status=no');
form.submit();
Best Answer
Most likely you are looking for this "force:navigateToURL" https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_navigateToURL.htm