Remove Email button on Reports

  • 0
  • 1
  • Question
  • Updated 6 years ago
  • Answered
I wish to remove the 'email button' on Reports. I know a user could in theory screenshot/copy paste but having an email button makes it more obvious that they can do that.

I read on another post that this can be removed but its not a supported feature. Can anyone shed any light on that?
Photo of stuaz

stuaz

  • 10 Points

Posted 6 years ago

  • 0
  • 1
Photo of stuaz

stuaz

  • 10 Points
Anyone able to help? Seems a bit odd that you can't control this as it enables a user to protentially email out business data!
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,434 Points 20k badge 2x thumb
>I read on another post that this can be removed but its not a supported feature. Can anyone shed any light on that?

You can use the image onload technique to hide the email button on a view record page using this code:

$("a[id=emailRecordButton]").hide();
This code works in both the old and new UX despite the appearance and placement of the email button being substantially different. An oddity of the old UX requires the above code to correctly hide both the top and bottom instances of the edit bottom which mistakenly used the same id attribute on both the top and bottom instance (id attributes should be unique on the page). In the new UX you will be able to use this more natural code because the edit button appears only once:

$("#emailRecordButton").hide();
Photo of stuaz

stuaz

  • 10 Points
Thanks for the response.
While I have been using Quickbase for a while I am somewhat still a newbie!.

How do I put that code on the page? In the header or footer in the App branding?
Photo of stuaz

stuaz

  • 10 Points
I posted a question to QB Support and got this answer:

Hi,


My name is Cam from the QuickBase Support team. I would be happy to fill you in. So currently if you are giving a user the ability to view the data you are also giving them the ability to email it. The good news is that in our March 24th release there will be a new function to hide the email function for roles as a role permissions setting. I am glad we could get that function in the upcoming enhancement release for your business needs.


QuickBase Support

Figured this might be useful information for others.