Box

Overview

Provides Smart Services and custom functions to integrate Appian with Box document management

Key Features & Functionality

Custom Functions

  • Create JSON Web Token (JWT) - createtoken() provides the user with a JWT that can be used for up to 60 seconds as authentication with the Box “token” API
  • Construct URL Custom Function - constructboxurl() expression function facilitates the creation of a servlet download link
  • Generate Box URL - generateboxurl() calls box url and intercepts the redirect url. It requires a valid Client Credentials Grant authorization token.

Smart Services

  • File Upload - after obtaining a JWT, this smart service uses the access token and calls the file upload API passing in the contents of a provided Appian Document
  • File Download to Appian - this smart service can download a file from Box and store it in a provided Appian Knowledge Center or Folder
    Servlet
  • File Download - downloads a file directly to the browser for the user to view/save to their computer. For security reasons most of the parameters passed to the servlet are obfuscated. Use the "constuctboxurl" function to create a URL to access the servlet securely.

Please see the Box File Utilities guide included with the download for complete setup and usage instructions.

Anonymous
Parents
  • Hi, we have upgraded the plugin from version 1.1 to 1.3 and we started having issues with the BoxFileDownloadServlet. From our logs we are getting the following error:

    com.appiancorp.ap2.WrapFilter - Root cause:
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.tika.mime.MimeTypesReader
    at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:71)
    at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:102)
    at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:191)
    at org.apache.tika.mime.MimeTypes.getDefaultMimeTypes(MimeTypes.java:155)
    at org.apache.tika.config.TikaConfig.getDefaultMimeTypes(TikaConfig.java:260)
    at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:219)
    at org.apache.tika.config.TikaConfig.getDefaultConfig(TikaConfig.java:330)
    at org.apache.tika.Tika.<init>(Tika.java:119)
    at com.appiancs.plugins.boxFileUtilities.servlet.BoxFileDownloadServlet.doGet(BoxFileDownloadServlet.java:144)

    We are running Appian 22.1 but also encountered this issue in 21.4. 

    Do you have any help/ideas where to proceed from here?

    Thanks!

  • & ,

    I am getting the same error with the BoxFileDownloadServlet.  Any progress on this?

Comment Children
No Data