Hello everyone, we're trying to hide the "Return" button on LiveReport result, do you can to help me?
Thanks.
Hello Ricardo,
I would recommend you inquire with support, to get a more thorough explanation. Also, make sure you have a DEV/TEST system for this.
This is something that I believe would require a customization of your Content Server, there are very many ways to go about this. You could create an ActiveView, that removes the following line, dynamically:
<input class="saveButton" onclick="goReturn();" value="Return" type="BUTTON">
You would likely need to set the ActiveView overrides to intercede with the specific request handler that comes in when LiveReports, which I believe would be something like ?func=runReport.
Otherwise, if you're running with WebLingo comments enabled (Admin Pages > Rendering Settings > Enable WebLingo Comments), you could find the .html file that is generating this part of the page, and modify it yourself. Just a note: WebLingo comments being enabled can adversely affect ActiveViews, in your system, so you should only be running with it enabled in a test environment.
For example, on CS16, it appears to be autoreport-run.html that is defining the goReturn() function. You could modify it here, too.
Please don't take this as a definitive guide on how to remove the return button in LiveReports, but rather as a basic guidance before you perform your own research or study on how to best implement this. We can't take any responsibility for what you decide is the best approach.
For any modifications you would like to make to your Content Server, I must stress the importance of backing up any and all files you wish to customize in any way. You may need to restore these before upgrades, or you may need to re-implement any changes you have made, whenever you update your system. Again, I would recommend you open a ticket if you wish to further research how to make changes, here.