How to open a report from button click
I need to open a report if i click on a button
I have used Sandbox -> Pape composer and used the below code
<button type="test" value="Test" onClick="window.location.href='myreporturl.xdo';">Test</button>
Can someone please help with the proper code.