...
Aura components are the self-contained and reusable units of an app. They represent a reusable section of the UI and can range in granularity from a single line of text to an entire app.
Lightning Web Components (LWC) are a new app-centric model that provides business and datalogics to develop dynamic web applications meant for desktop and mobile devices. Because they’re built on code that runs natively in browsers, LWC LWCs are lightweight and deliver exceptional performance.
...
Design Attributes: Activities
Status | ||||
---|---|---|---|---|
|
Design attributes can be used for controlling editing elements on the Activities LWC component. They can
be used for hiding/displaying buttons and editing colors of various elements on the Activities LWC
component.
...
Navigate to Activities LWC and click on the gear icon → Edit Page.
This will take you to the Lightning App Builder. Click on the Activities component. It will display a list
of design attributes on the right side of the page.
The following design attributes are available. Check/Uncheck them based on the table below:
Design Attribute | Related UI Element | UI if True | UI if False |
---|---|---|---|
Table Sort Fields | Allows to override the | NA | NA |
Activity Bar Color | Controls the color of Activity Bar. Enter the name of the color (ex - red) or the hex code of the color (ex - FF0000) | NA | NA |
Activity Link | Controls the color of Activity. Enter the name of the color (ex - red) or the hex code of the color (ex - FF0000) | NA | NA |
Activity Critical | Controls the color of Activity Critical Path on the Activities table. Enter the name of the | NA | NA |
Milestone Color | Controls the color of on | NA | NA |
Hide Add New | Controls the display of Add New Activity button. | Add New Activity | Add New Activity |
Hide Delete button | Controls the display of | Delete button is | Delete button is visible. |
Disable Edit | Controls the display of Edit Icon. | Edit Activity action is | Edit Activity action is |
Hide Baseline | Controls the display of the Display Baseline button. | Hide Baseline button is | Hide Baseline button is |
Hide Critical Path | Controls the display of the Critical Path Button | Critical Path button is | Critical Path button is |
Hide Hyperlink in | Controls the display of | No Hyperlink in the | Hyperlink present in the |
...
Custom Setting: Activities
...
Status | ||||
---|---|---|---|---|
|
Some key features in the product can be configured on/off depending on the client organization’s
preferences for the product. They can be disabled/enabled at the user/profile/organization level. To enable
or disable any of these features for To customize the Activities Aura component:
Go to Setup → Custom Settings“Custom Settings”
Navigate to Activities“Activities”
...
Click on Manage“Manage”
Click on Edit“Edit”
A list of settings would be displayed. Check/Uncheck these settings based on the table below:
Field Label | Related UI Element | UI if True | UI if False |
---|---|---|---|
Hide Add New | Controls the display | Add New Activity button is hidden. | Add New Activity button is visible to selected Profile/User |
Hide Delete | Controls the display | Delete icon/button is | Delete icon/button is visible to |
Hide Edit Actions | Controls the display | Edit action/icon is hidden. | Edit action/icon is visible to selected Profile/User |
...
Update “Activity Type” - “Status” Dependency
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
As a System Administrator, if you want to update the status “Status” picklist values available for a specific activity type“Activity Type”, then you can do this by updating the field dependency between the Activity Type and Status fields within the Activity object.
...
By default, the field dependency is configured in the following manner:
Task (Activity Type ): = “Task”, then “Status” = Planning, In Progress, Complete (Status)Milestone (
Activity Type ): = “Milestone”, then “Status” = Open, Complete (Status)
In order to update the Activity Type - Status field dependency, you would have to:
Update picklist dependency on the Activity Type “Activity Type” field
Update the validation rule on the Status “Status” field
Update instructions within the Implementation Plan DL/UL excel Excel
Update Picklist Dependency on the Activity Type Field
...
Navigate to the Object Manager tab within Setup
Navigate to the Activity (ampi__Activity__c) Object
...
Search for the field Activity Type and click on it
...
Scroll down to the Field Dependencies section and click on the New button
...
Select Activity Type as the controlling field and Status as the dependent field
...
Update the picklist dependency based on your requirement
Update Validation Rule on the Status Field
...
Navigate to the Object Manager tab within Setup
...
Navigate to the Activity (ampi__Activity__c) Object
...
Click on the Validation Rules option
...
Click on the Edit button and update the Error Condition Formula and Error message based on your requirement
Update Instruction on the Implementation Plan UL/DL Excel
...
Navigate to Object Manager tab within Setup
...
Search for and navigate to the Custom Labels option under User Interface
...
Update the value of the custom label PREPARE_UPLOAD_4C based on your new dependency
...
Field Sets: Activities
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
This section details how to customize the field sets on both the Activity Aura and Lightning Web Components:
Info |
---|
The Activity field sets currently support all field types except Encrypted String and Time. The behavior of these two unsupported fields is denoted beneath each field set. |
CREATE_NEW_ACTIVITY_POPUP: Fields displayed in “Add New Activity”
...
Pop-up
Object: Activity__c
Field set name: CREATE_NEW_ACTIVITY_POPUP
Unsupported field types: Encrypted String, Time
Info |
---|
If viewing/modifying multiple Implementation Plans at once, Implementation_Plan__c must be included in this field set in order for new Activities to be added to the correct Implementation Plan. |
...
...
EDIT_ACTIVITY_POPUP: Fields Displayed in “Edit Activity”
...
Pop-up
Object: Activity__c
Field set name: EDIT_ACTIVITY_POPUP
Unsupported field types: Encrypted String, Time
...
...
ACTIVITY_TABLE_COLUMNS: Column Fields on Activity Chart (between Activity Name and Timeline)
Object: Activity__c
Field set name: ACTIVITY_TABLE_COLUMNS
Unsupported field types: Encrypted String, Time.
If added added to the field set, unsupported fields will be hidden
...
Info |
---|
It is recommended to include no more than 3 fields in the Activity Table for users to be able to view the information in a user-friendly manner. |
...
ACTIVITY_TABLE_SEARCH_FILTER: Fields Used in Expanded Search Filters and Search Bar
Object: Activity__c
Field set name: ACTIVITY_TABLE_SEARCH_FILTER
Unsupported field types: Encrypted String, Long Text Area, Rich Text Area, Time
If added to the field set, unsupported fields will display an error message “Data-Type not supported”.
...
...
ACTIVITY_INFO_POPOVER: Fields Used in Information Popover when Hovering Over an Activity in the Gantt chart
Object: Activity__c
Field set name: ACTIVITY_INFO_POPOVER
Unsupported fields/field types:
Status__c field on Activity__c will display a number value instead of the picklist value
IMPLEMENTATION_PLAN_EXCEL_COLUMNS: Implementation Plan Upload/Download - Fields
...
Displayed in
...
Downloaded Excel
...
File from
...
Implementation Plan
...
Record
Object: Activity__c
Field set name: IMPLEMENTATION_PLAN_EXCEL_COLUMNS
Partially supported field types: Auto-number, Formula, Date, Date/Time
Values in the Auto-number field can be downloaded in an Excel file but will throw
an error when uploading the Excel.When the Excel file with Activity records containing a formula field is uploaded to
the Implementation Plan record, the file uploads successfully without throwing any
error messages in the error log. However, any values added to or updated in the
formula field do not reflect in Amp Impact.
Unsupported field types: Lookup or master-detail fields on the parent object
For example, ampi__Project_Indicator__c.ampi__Catalog_Indicator__c cannot be
downloaded in the Implementation Plan Excel
...