Workspaces Connector for BEMS
A new connector for BEMS has been developed to allow the BlackBerry Work Docs app to access BlackBerry Workspaces repositories. Available Workspaces repositories are shown in the Docs app, allowing the user to view files in the repository and use Workspaces locations as a place to save documents. The connector is able to:
- List, create, and delete workspaces and folders
- List, upload, download, and delete files
For example, a manager receives a sensitive document as an attachment in the Work email app. The manager can tap to download the attachment, then select
Save to Docs
and choose a Workspaces location to save the file. From the Docs app, the manager can retrieve the file from the Workspaces location later.Only local workspaces can be accessed, not transient workspaces.
Use the following steps to configure and deploy the Workspaces Connector for BEMS. If you upgrade BEMS, you must redeploy the Workspaces Connector after the upgrade.
The minimum requirements for the Workspaces Connector for BEMS are:
- BlackBerry Enterprise Mobility Server (BEMS) 2.8.7 and later
- BlackBerry Workspaces Server 6.0.0 and later
- Create an OAuth Client ID and details for the organization.You must be a Workspaces administrator and have access to Workspaces Rotisserie to perform this step. For some Workspaces clients, this step will need to be performed by BlackBerry Support.
- Log in to Workspaces Rotisserie athttps://<workspaces server>/rotisserie, using a Workspaces admin email and password.
- Select theIdentity Provider Managertab (key icon at upper right).
- Select theOAuth Client Detailstab.
- ClickCreateto create a new OAuth client.
- In theClient Idfield, enter a client id. (e.g.,servername.bems)
- Click the key icon to the right of theClient Secretfield to generate a key.
- Leave the default values as is in theAuthorities,Authorized Grant Types, andAccess Token Validityfields.
- In theWebserver Redirect URIfield, enter the Workspaces FQDN.This field is required for the BEMS Docs App to work properly.
- ClickCreate OAuth Client.
- Install the Workspaces Connector for BEMS.
- BlackBerry will provide a custom .jar (Java ARchive) file to the client, based on the Client ID configuration in the previous step.
- Copy the .jar file to the following BEMS server location.The location may be different depending on your BEMS installation. For example,C:\Program Files\BlackBerry\BlackBerry Enterprise Mobility Server\Good Server Distribution\gems-quickstart-x.x.x\deploy
- If the connector jar is deployed successfully then theWorkspacestype will appear under the Storage Provider dropdown in BEMS.
- Add a new Workspaces connector in the BEMS dashboard.You must be a BEMS administrator to complete the following.
- Log in to BEMS dashboard athttps://<bems_server>:8443/dashboard.
- Create a new Storage by selectingHome > Docs > Storages > New Storage.
- Enter a name for the storage (e.g., Workspaces).
- SelectWorkspacesfrom theStorage Providerdrop down.
- SelectOAuth2from theAuthentication Providerdrop down. The OAuth2 Base URL format depends on the user's authentication method. The Client ID and Client Secret were defined in the previous steps.
- If the user uses OAuth2 or EID for authentication:https://<FQDN server>/saml-idp/oauth
- If the user logs in with their email address and password:https://<FQDN server>/api/3.0/authentication
- To make the storage available on user devices, selectEnable Storage.
It may take up to an hour or a restart of the apps for storage changes to take effect on user devices. It may take up to five minutes for the changes to take effect on the server. Enabling and disabling storage providers on this page affects what storage resources are visible at any given time for users, but has no such impact on the server. - Add a new Workspaces repository in the BEMS dashboard.
- SelectHome > Docs > Repositories > New Repository.
- Add a name in theDisplay Namefield (e.g., Workspaces).
- SelectWorkspacesfrom theStoragedrop down.
- In thePathfield, enter the path to the Workspace repository.
- Configure the rest of the form according to the steps documented in the Managing content connectors section.
- ClickSave.
Once the Workspaces and BEMS configuration are complete, no additional setup is required on the Docs client. The Workspaces connector will be available automatically in the Docs app.
If you want to upgrade to a new version of the BEMS connector. Do the following:
- Go to the/gems-quickstart-x.x.x/deployfolder and delete the .jar file of the existing connector.
- Copy the .jar file of the new connector to the deploy folder.