Annotation Context
DocViewer uses context
, an attribute on every annotation, to
decide which annotations to return to the client. When you launch a session
you specify a context
, and you receive only those annotations that match that
context
.
Example:
Bob launches a DocViewer session with context
default
. He then adds annotations, each of which is saved with contextdefault
.Alice then launches a session with context
default
. She sees all of Bob's annotations.Next, Mallory launches a session with context
canvadocs_admin
. She does not see any of Bob's annotations. Any annotations she creates are saved with contextcanvadocs_admin
, and will not be visible in Bob's or Alice's sessions.
Canvas Speedgrader uses the context default
and the Admin Panel uses the
context canvadocs_admin
.