Excluding Objects From My Calendar

You can hide objects shown in My Calendar. For example, users may not be allowed to view tasks belonging to a project in a Hold or Cancel state.

  1. Open the JPO method emxMyCalendarBase.excludeObject() .
  2. Update the logic in this method to exclude any objects.

    Following are guidelines for modifying this JPO:

    • If you are trying to hide a generic type of object, you must consider other apps that use the object. For example, if the type Task is to be excluded in Project Management, then the code will need to check if Project Management is installed and only execute the object when it detects that Project Management is installed.
    • APIs specific to Project Management should not be used in this method. If used, compilation errors will result since the JPO resides in Common.
    • Generic ADK API usage is highly recommended.
    • Minimum DB calls should be performed, preferably not more than one.
    • The signature of the method should never be modified.