Constant Effort

How can the behavior be centrally controlled and customized for individual users?

In Can Do, when extending or shortening an object, the effort assigned to the resource(s) is automatically adjusted proportionally by default. This behavior can be deactivated, for example, in the Project Planner app under "View""Display" "Constant Effort".
When this option is selected, the assigned effort remains constant even if the object's duration changes.

Saving the Setting

The "Constant Effort" selection is saved in the local browser cache.
If the cache is cleared, the setting will be lost.

Server-Side Control

To ensure consistent behavior, the setting can be configured server-side via two properties in the

config.js file: 

  • keepEffortConstant: false
    // defines whether "Constant Effort" is enabled by default
  • keepEffortConstantEnforced: false
    // defines whether the default value can be changed by the user
 

Property Behavior:

  • keepEffortConstant = true: “Constant Effort” is enabled by default.

  • keepEffortConstantEnforced = false: Users can change the value. The setting is saved in the browser cache.

  • keepEffortConstantEnforced = true: The defined value (true/false) is enforced system-wide. User changes are ignored.

Relevant Applications

The “Constant Effort” filter can currently be changed manually in the following app:

  • Project Planner

  • Employee

  • Employee+

  • Team+

Behavior When Enforcement Is Enabled

If keepEffortConstantEnforced = true is set, the “Constant Effort” option will be disabled or hidden in the following apps to avoid confusion:

  • Gantt view in Project Planner

  • Employee

  • Employee+

  • Team+

Technical Implementation

In the config.js file for Project Planner, Employee, and Employee+:

{
id: 'effort-constant',
field: "$scope.keepEffort",
enabled: false, // Set to TRUE to hide the option
default: true,
filter: false,
filterExcludeValue: ""
}

In the ribbonConfig.js file for Team+:

{
id: "keep-effort-constant",
visible: true // Set to FALSE to hide the option
}

Note: The Team+ app currently does not offer all menu options available in the other apps. If the option is not hidden, user input will have no effect.

Special Case: keepEffortConstant = true

If keepEffortConstant = true is set, the “Constant Effort” option will automatically be reset to „true“ upon reloading the application – even if the user previously selected „false“.

Reason: The setting is stored only in the local storage and is not permanently applied.

Important:
Permanently modifying this behavior would require extensive changes and testing across the affected applications.