Last Modified On: July 7, 2026
In some situations, you may want to restrict users from printing or exporting project information from the Gantt Lightning Web Component (LWC). This can help protect sensitive project data, maintain control over how project information is shared, or ensure that users access project details only through Salesforce.
You can disable the Print and Export icons in the Gantt LWC. When disabled, the icons remain visible to users but appear grayed out and cannot be selected.
This article explains how to configure these settings and disable the Print and Export options.
Please Note:
This feature will be available with the Inspire Planner JUL 2026 Major Release available in Production environments on August 11, 2026.
Disabling these options may be useful in scenarios such as:
You must be a Salesforce System Administrator to perform the steps outlined in this article as it requires access to Salesforce setup.
This section will show you how to disable the Print and Export icons in the Gantt Lightning Web Component (LWC).
It is possible to have multiple instances of the Gantt Lightning Web Component (LWC) on the project Lightning record page. This means that you can add the same component several times on the same page.
This makes it possible for you to set the component visibility, which dictates when to display the component and/or also choose which features are available/unavailable. For example, you might want to disable the print and export icons for some users but have it still available for others to use.
Let's say that we want to disable print and export ic for a specific user profile. To accomplish this, we would add the Inspire - Project Gantt LWC twice to the Project Lightning record page (see example below).
Next, click the component to select it. In the properties panel on the right, you can configure the Component Visibility settings. This is where you define the criteria that determine when the component is displayed, as well as configure component-specific options and features.
In the example below, the component visibility is configured to display the component only when the viewing user has a role of Customer Success.
By setting Disable Print / Export to TRUE, users who meet the visibility criteria will see the Project Gantt component with the Print and Export icons disabled.
Next, click on the second Gantt component to select it. In the properties panel on the right, configure the Component Visibility settings to define when this component should be displayed.
In the example below, the second component is configured to display when the viewing user’s role is not set to Customer Success. By setting Disable Print / Export to FALSE, users who do not have the Customer Success role will be able to view this Gantt component and use the Print and Export features.
By configuring the Component Visibility settings for each Gantt component, you can control which component is displayed based on defined criteria and determine whether the Print and Export features are available to users.
Remember to click Save after you have finished making your changes.