Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Booker25 multi dimension calendars have a context menu when the user clicks on a dimension record.

...

This menu can be customized by following the following steps.

  1. Create an Apex class that implement implements the System.Callable interface. For an example, see the code below.

  2. Click on Setup and search for Custom Settings

  3. Click on Manage next to System_Settings

  4. Click New

  5. For the name specify Calendar Context Menu Class

  6. Fill in Enter the name of the apex class in Apex class from step 1 into the String value field

  7. Click Save

...

The callable class has two parameters: a String specifying the action, and a Map<String, Object> with parameters.
For the custom context menu the action will be contextMenu.
The parameter map will contain one entry defaultContextMenuthis . This entry is a List of context menu items.

...