Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »


This page covers:

Related pages:


Activities Components

The Activities feature comes with two customization options that organizations can choose from: Aura Component or Lightning Web Component:

  • 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, LWCs are lightweight and deliver exceptional performance.


Design Attributes: Activities LIGHTNING WEB COMPONENT

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.

Design attributes can be accessed by:

  1. Navigate to Activities LWC and click on the gear icon → Edit Page.

  2. 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
default sort order on the Activity table.

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
Path Color

Controls the color of Activity Critical Path on the Activities table. Enter the name of the
color (ex - red) or the hex code of the color (ex - FF0000)

NA

NA

Milestone Color

Controls the color of on
Milestone on Activities table. Enter the name of the color (ex - red) or the hex code of the color (ex - FF0000)

NA

NA

Hide Add New
Activity

Controls the display of Add New Activity button.

Add New Activity
button is hidden.

Add New Activity
button is visible.

Hide Delete button

Controls the display of
Delete icon.

Delete button is
hidden.

Delete button is visible.

Disable Edit
Activity Action

Controls the display of Edit Icon.

Edit Activity action is
hidden.

Edit Activity action is
visible.

Hide Baseline
Button

Controls the display of the Display Baseline button.

Hide Baseline button is
hidden.

Hide Baseline button is
visible.

Hide Critical Path
Button

Controls the display of the Critical Path Button

Critical Path button is
hidden.

Critical Path button is
visible.

Hide Hyperlink in
the First column

Controls the display of
hyperlink in the first column.

No Hyperlink in the
first column

Hyperlink present in the
first column


Custom Setting: Activities AURA COMPONENT

To customize the Activities Aura component:

  1. Go to Setup → “Custom Settings”

  2. Navigate to “Activities”

  1. Click on “Manage”

  2. Click on “Edit”

  3. 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
Activity Button

Controls the display
of the “Add New
Activity” button

Add New Activity button is hidden.

Add New Activity button is visible to selected Profile/User

Hide Delete
Actions

Controls the display
of Delete (dustbin)
icon

Delete icon/button is
hidden.

Delete icon/button is visible to
selected Profile/User

Hide Edit Actions

Controls the display
of Edit icon

Edit action/icon is hidden.

Edit action/icon is visible to selected Profile/User


Update “Activity Type” - “Status” Dependency LIGHTNING WEB COMPONENT AURA COMPONENT

As a System Administrator, if you want to update the “Status” picklist values available for a specific “Activity Type”, then you can do this by updating the field dependency between the Activity Type and Status fields within the Activity object. 

Please note that this is an optional step. You can make these changes if you want to update the values available for the Status picklist field for a specific Activity Type.

By default, the field dependency is configured in the following manner:

  1. Activity Type = “Task”, then “Status” = Planning, In Progress, Complete

  2. Activity Type = “Milestone”, then “Status” = Open, Complete

In order to update the Activity Type - Status field dependency, you would have to: 

  1. Update picklist dependency on the “Activity Type” field

  2. Update the validation rule on the “Status” field

  3. Update instructions within the Implementation Plan DL/UL Excel 

Update Picklist Dependency on the Activity Type Field

You can follow the instructions below to update the picklist dependency on the Activity Type field: 

  1. Navigate to the Object Manager tab within Setup

  2. Navigate to the Activity (ampi__Activity__c) Object

  3. Search for the field Activity Type and click on it

  4. Scroll down to the Field Dependencies section and click on the New button 

  5. Select Activity Type as the controlling field and Status as the dependent field

  6. Update the picklist dependency based on your requirement

Update Validation Rule on the Status Field 

You can follow the steps mentioned below to update the validation rule on the Status field within the Activity object:

  1. Navigate to the Object Manager tab within Setup

  2. Navigate to the Activity (ampi__Activity__c) Object

  3. Click on the Validation Rules option 

  4. 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

You can update instruction 4c within the Instructions tab of the Implementation Plan UL/DL excel file by updating the custom label ‘PREPARE_UPLOAD_4C’. You can do this by following the steps mentioned below:

  1. Navigate to Object Manager tab within Setup

  2. Search for and navigate to the Custom Labels option under User Interface

  3. Update the value of the custom label PREPARE_UPLOAD_4C based on your new dependency


Field Sets: Activities LIGHTNING WEB COMPONENT AURA COMPONENT

This section details how to customize the field sets on both the Activity Aura and Lightning Web Components:

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

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 to the field set, unsupported fields will be hidden

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


Activities Record Limits LIGHTNING WEB COMPONENT

The record limits and processing time of the Activities (LWC) feature are detailed below:

Feature

Record Limit

Processing / Loading Time

Activities (LWC)

  • 50 Implementation Plans with 300 Activities each

  • 4500 Activities at once. This could be:

    • Multiple Implementation Plans with total 4500 Activites displayed simultaneously in the Activities table

    • Single Implementation Plan with total 4500 Activities displayed in the Activities table

< 1 min


  • No labels