Skip Navigation

Introduction

BlackBerry Workspaces
Online Viewer is an Angular application that utilizes pdf.js to enable the ability to view protected documents in an integrated online viewer in an online web service or custom application. The viewer can be integrated into any browser window in a custom application inside an iframe.
The
BlackBerry Workspaces
Online Viewer iframe and parent window communicate via the postMessages API. The message objects are of the following form:
{ "id": "MESSAGE_ID" "context": { // optional values relevant to the specific message "key1": "value1", "key2": "value2", ... } }