The Gantt Lightning Web Component (LWC) is an upgrade of our existing Project Gantt from a Visualforce component to a Lightning Web Component (LWC), aligning it with the current Salesforce platform architecture and programming language. This upgrade brings a more intuitive user interface, aligned with the Lightning aesthetic. It also enhances performance and scalability.
This help article outlines the required configurations for the Gantt Lightning Web Component (LWC).
Please Note:
You must be a Salesforce System Administrator to complete the steps below.
If you have not done so yet, it is highly recommended that you first go through and complete the post-install instructions for Inspire Planner.
Please see Inspire Planner Post-install Instructions.
A new field called “Gantt Version” has been added to the Project object. The value in this field determines which version of the Gantt to display when you open a project. You will need to make sure that your users have read and write access to this field.
Gantt Version field defaults to a blank value. When this field is blank or has a value of "Visualforce", then it will display Gantt Visualforce.
The following permission sets that come out-of-the-box with Inspire Planner already include access to this field:
If you are using custom permission sets, then you will need to edit them to enable access to this new field.
A new field called “Deactivated Dependencies” has been added to the Project Task object. When you make an adjustment to project task dates that violate a constraint, the constraint violation dialogue displays the option to deactivate the dependency. When the user chooses to deactivate the dependency, the Predecessor field keeps the value, and the same value is populated in “Deactivated dependencies” field. This means that any adjustments made to the predecessor task(s) no longer impact the successor task(s).
If you are using custom permission sets, you will need to edit them to enable access to this new field.
A new field called “LWC Settings” has been added to the User Project Settings object. This is where Inspire Planner stores the user’s viewing preferences (columns, column widths, column order, etc.) for a project for the Gantt LWC.
Next, you will need to add the "Gantt Version" field to the project page layout you use for waterfall projects.
You will also need to add the “Gantt Version” field to your Project Lightning record page if you are using Dynamic Forms.
If you are using record types for Projects, you can skip this step. Click here to move to the next step.
The Project Lightning record pages that come out-of-the-box with Inspire Planner already contain the Gantt LWC. However, if you are using a custom Project Lightning Record page, you will need to add the Gantt LWC to the page and also set the component visibility.
Please Note the following:
Gantt Version field defaults to a blank value. When this field is blank or has a value of "Visualforce", then it will display Gantt Visualforce. It is important to apply component visibility so that only 1 version of Gantt is displayed - either Visualforce or LWC. Due to the auto save function, having both components displayed at the same time will cause conflicts.