Category

How to Hide the Export Button in the Customer Portal Ticket Tab

Updated:

You can hide the Export button in the Ticket tab of the Customer Portal by using Custom JS.

To do this, go to Admin > Customer Portal > Customization, and then add the following script in the Custom JS section.

Custom JS code

let interval = setInterval(function () {
   var exportbtn = document.querySelector("#export_field");
   if (exportbtn) {
      exportbtn.style.setProperty("display", "none", "important");
      clearInterval(interval);
   }
}, 100);

Add the script to the Customer Portal

To learn where to paste the Custom JS code, explore How to Configure Customer Portal Settings

Before customization

Export_Button.png

After customization

Export_Button_Unavailable.png

Frequently Asked Questions

1. Does hiding the Export button remove the export functionality completely?
No. This customization hides the Export button from the Ticket tab in the Customer Portal interface. It does not remove or disable the underlying functionality at the system level.

2. Where should I add the Custom JS code?
You need to add the script in the Custom JS section under Admin > Customer Portal > Customization.

3. Will this customization affect other areas of the Customer Portal?
No. This script is intended to hide only the Export button in the Ticket tab of the Customer Portal.

4. Do I need to refresh the Customer Portal after adding the script?
Yes. After saving the Custom JS code, refresh the Customer Portal to verify that the Export button is no longer displayed.

Related articles

  1. How to Restrict Agents and Contacts from Creating Tickets in Customer Portal
  2. How to Add Third Party Scripts to the Customer Portal
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied
Access denied
Access denied

No articles or sections found
No articles or sections found