Loading

Configure the file hosting services, for example, Dropbox

Important information concerning Dropbox

If you use Dropbox as a file hosting service, you have to:

  1. Upgrade to PRISMAdirect 1.3.3, or higher. PRISMAdirect 1.3.3, or higher, uses Dropbox API v2.

  2. Send the return URLs to the support channel of PRISMAdirect. The support channel must include the URLs to the Dropbox App management page for successful access authentication. The URLs are the DNS names / Friendly URLs used to access each web shop and the order processing console.

Reason:

Dropbox ends the support for the Dropbox API v1 on September 28th, 2017. From September 28th, 2017 onwards, Dropbox will only support Dropbox API v2. This API version implements OAuth2 authentication, which requires significant changes related to the way the access authentication works.

Introduction

The file hosting services provide an Internet hosting service specifically designed to host user files. When you enable file hosting services, the users can add files from the hosting service - the "cloud" - to their job. Both the print room operator and the customers can use the file hosting services, for example, Dropbox.

This topic describes how you can enable and configure Dropbox. After configuration, PRISMAdirect is allowed to access the Dropbox accounts on behalf of the customers. Each available file hosting service must be configured in a similar manner.

You have to configure the file hosting settings in the [Configuration] workspace:

  1. Check that the JDD service user has Internet access

    The JDD service user is the user that runs the "Print Job Data Dispatcher" service. The user must have Internet access.

  2. Enable and configure the file hosting services

  3. Optionally, you can customise the file hosting services per user group

    You can customise the file hosting services for each user group. The custom settings overrule the web shop settings for the concerning user group. The custom settings are used in all web shops for the concerning user group.

You have to configure the products in the [Product & order editor] workspace:

  1. Enable option [File hosting service] for one or more products

Check that the JDD service user has Internet access

The JDD service user is the user that runs the "Print Job Data Dispatcher" service. It is recommended that you change the user only when:

  1. The user has a local system account. And

  2. You want to use the file hosting services and/or the payment providers. The user must have Internet access.

A number of services will be restarted when the user is changed. Orders that are being submitted by customers will become corrupt. The following services will be restarted:

  • The Message Queuing service

  • The Print Job Data Dispatcher service

  1. Click [System] - [Services settings] - [Advanced infrastructure].

  2. The read-only text box displays the current JDD service user. Click [Test connection] to test if the user has Internet access.

    You can change the user:

    1. Click the [Change] button.

    2. Select the domain and user name. For example, you can select the user that runs the services of PRISMAdirect. The user must have Internet access if you want to use the file hosting services and/or the payment providers.

      Type the password. Letters in passwords must be typed using the correct case.

    3. Click button [OK] and click [Test connection] to test if the user has Internet access.

    4. Click [OK].

  3. Click [Save].

Enable and configure the file hosting services

  1. Click [System] - [Connectivity] - [File hosting services].

  2. Enable option [Use file hosting services] in section [Global settings].

  3. Select which file hosting services will be available for PRISMAdirect. For example, Dropbox.

  4. Enable option [Use file hosting services] in section [Order processing and web server settings].

    In other words, enable the selected file hosting services for both the print room operator and the customers.

    NOTE

    Dropbox can be disabled for PRISMAdirect. However, you can configure Dropbox when it is enabled for [Order processing and web server settings]. Then, you can enable Dropbox for one or more user groups. See procedure Optionally, configure the file hosting services per user group below. You can do this for each available file hosting service.

  5. Section [Cache settings]

    You can store the data of the file hosting services within a cache. If requested data is contained in the cache, the request can be served by simply reading the cache. This is comparatively faster than fetching data from its original storage location in the cloud.

    Define both the cache size and the cache folder.

    NOTE

    The JDD service user must have the permission "Full Control" over the cache folder.

  6. Configure each file hosting service.

    Click on the bar of the file hosting service that you want to configure. The bar expands and you can fill in the required settings. Each file hosting service delivers the required settings to you when you create an account. For example, for Dropbox you have to define the:

    1. [Consumer Key]

    2. [Consumer Secret]

  7. Configure other available file hosting services in a similar manner.

  8. Click [Save].

    Now, PRISMAdirect is allowed to access the Dropbox accounts on behalf of the customers.

Enable option [File hosting service] for one or more products

Enable option [File hosting service] for each product for which you want to allow, for example, Dropbox as file source.

  1. Open the [Product & order editor] and click [Products].

  2. Select a product for which you want to allow Dropbox as file source.

  3. Click the pane [Detailed product settings].

  4. Enable option [File source] - [File hosting service] in section [Files]. Section [Files] is available in the view [Web shop].

  5. Click [Update].

  6. Repeat this procedure for all products for which you want to allow Dropbox as file source.

  7. Click the [Publish] icon in the tab of workspace [Product & order editor] or [Web shop editor].

    Publishing the changes to the PRISMAdirect server could take some time. The status bar indicates the progress.

Result

Option "File hosting ..." is now available for your customers and operators:

Optionally, you can customise the file hosting settings per user group

  1. Click [User management] - [User groups] - [User group settings].

  2. Click on the bar of the user group that you want to customise. The user group expands.

  3. Scroll to section [File hosting service].

  4. A customer or operator can be part of a user group. The settings of the user group overwrite the settings for PRISMAdirect.

    • Global settings

      The user group uses the settings of the file hosting services as defined for PRISMAdirect.

    • Custom = Yes

      File hosting services are enabled for each web shop for the concerning user group. A requirement is that the file hosting services are configured, see procedure Enable and configure the file hosting services.

    • Custom = No

      File hosting services are disabled for each web shop for the concerning user group.

  5. Click [Save].