Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Shared File Links / Create or Update Link

Operation Information

Creates or Updates a file link in Box.

This is a Free Tier Integration.

Authentication

This operation requires authentication, the details of which can be securely stored on your instance in a KeySafe Key of type Box.

To create a key of this type:

  • In the Configuration area of your Hornbill instance, navigate to Platform Configuration > Security > KeySafe;
  • Click on the + Create New Key button;
  • On the resulting Create New Key form, choose Box in the Type pick list;
  • Give the Box KeySafe key a Title (this is the name / identifier for the Box account as you will see it when using the cloud automation node in your workflows);
  • Optionally populate the Description field;
  • Click the Create Key button to create your new key;
  • Once the Key is created, you will need to connect to the target service, and your account, in order to authorize the connector app access to the listed operations. Click the Connect button and you will be redirected to the service provider in a popup window;
  • Log in to your account, and then you will be prompted to review the options you are authorizing the Hornbill connector to be allowed to perform using the chosen account;
  • Accept the review and you will be returned to your KeySafe key.

Revoking Access

If at any point you wish to revoke access to any of the above accounts from your Hornbill instance, just hit the Revoke button in the relevant KeySafe key(s).

Warning

This will revoke the rights of any existing Cloud Automation Node in your Hornbill Workflows that are using the revoked Box account, so you will need to manage these workflows accordingly.

Input Parameters

Display Name ID Type Description Required Supported Values
File ID file_id string ID of the file to create the link to Yes None provided
Requested Visibility access string The level of access. Can be open (People with the link), company (People in your company), or collaborators (People in this file) No open, company, collaborators
Expires unshared_at string The date-time that this link will become disabled. This field can only be set by users with paid Box accounts No None provided
Password password string The password required to access the shared link No None provided
Can Download can_download boolean Whether the shared link allows downloads. For shared links on folders, this also applies to any items in the folder. Can only be set with access levels open and company (not collaborators) No None provided

Output Parameters

Display Name ID Type Description
File ID id string ID of the file that the link is to.
File Name name string The name of the file
URL url string Shared Link URL
Download URL download_url string Shared Link Download URL
Vanity URL vanity_url string Vanity URL (Box Enterprise customers only)
In This Document