Forum Discussion
MarkShnier__You
Qrew Legend
6 years agoRather than try to fight your way to suppress that full report, how about if you go into their EOTI Role and hide every single table and land them either on a blank dashboard as their default dashboard page or a dashboard page with some kind a message on it. That way if they escape out of your iframe and hit the home button at least they won't see anything.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- JoeHargrave6 years agoQrew TraineeMark,
Thanks for the quick reply. And I'm assuming from your response that the 'Full Report' link can't be suppressed? Or at least not easily?
It took me a minute to digest your idea, but yeah.... that's perfect. Done and done. The best solution would definitely be having the ability to turn off that link, and having searched the history of comments, it seems that I'm not the only one that feels that way. Until that's an option though, your solution at least gets me where I need to go. Thank you very much sir!!
------------------------------
Joe Hargrave
------------------------------- MarkShnier__You6 years ago
Qrew Legend
Right, there is no native way to disable the full report from appearing. You can get into advanced non native techniques that may not be supported in the future and I try to stay away from them.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - AustinK6 years agoQrew CommanderI don't know of any native way but you could do this with JavaScript and you may or may not need to use the image on load technique. As long as you do not expect your form to change much or you are fine updating the code if something does change this would work fine.
JavaScript isn't really fully supported by QuickBase so this is kind of a use at your own risk type of thing. It may work today and not work next month, but I think that risk is low considering this is just hiding an element. Still needs to be said.
The fastest way to see this work with just the console is as follows(in Chrome):
- Load your form/home page with the embedded report
- Hover over "Full Report", right click, "inspect", Chrome will open dev console and highlight the related element
- Right click that element in console, Copy > Copy JS Path
- Click Console
- Paste in what you copied and add on .style.display = "none" to the end. Example: document.querySelector("#tdf_63 > div > table > tbody > tr.Toolbar.ui-widget-header > td > table > tbody > tr > td.ActionsBar.FS-Tool-B.EmbeddedReport.DisplayNone > a.Tipsified").style.display = "none"
That hides just the Full Report text button. If you want the entire line hidden(Grid Edit, Email, More, etc) just do exactly what I did above except select the parent to the element I mentioned. If you want to remove the option from the dom that is also possible to do. Hiding it there is the possibility that a knowledgeable user could just unhide it. If you need to do this instead you will want to make the child that needs to be removed a variable named lets say elem, and then do elem.parentNode.removeChild(elem) and that will remove it from the dom completely.
If anything here did not make sense or if you have more questions feel free to ask.