Suppose we have two content packages, CP_A with objectivesGlobalToSystem = true and CP_B with objectivesGlobalToSystem = false. CP_A creates a global objective with id of g-obj and CP_B also creates a global objective with id of g-obj. I have two questions?
- Are these two global objectives the same?
- If CP_C wants to read the status of g-obj, in this case which global objective should be read?
No, they’re not. g-obj of
CP_B is global to CP_B only and it’s not accessable from outside. g-obj of CP_A is global to all courses except CP_B,
provided that other courses have objectivesGlobalToSystem set to
true which is the default value.
It reads the values stored in g-obj of
CP_A only.