container | String | document.body | CSS selector of the container in which the content explorer should be placed. Calling hide() will clear out this container. |
sortBy | String | name | The initial sort by option for the content list. Value can be either id, name, date or size. |
sortDirection | String | ASC | The initial sort direction option for the content list. Value should be either ASC or DESC. |
logoUrl | String | | URL of custom logo to show in header. If this value is the string box then the box logo will show. |
canPreview | Boolean | true | If this option is set to true AND can_preview permission on the file is true, files on the content explorer will be clickable. Clicking on a file will launch preview of that file. This option has no effect when the file permission can_preview is set to false. This is only applicable to files that can be previewed. |
canDownload | Boolean | true | Visually hides the download option if this is set to false. Hiding the option alone will not prevent downloading unless the file permissions also set can_download to false. This option has no effect when the file permission can_download is set to false. This is only applicable to files. |
canDelete | Boolean | true | Visually hides the delete option if this is set to false. Hiding the option alone will not prevent deleting unless the item permissions also set can_delete to false. This option has no effect when the item permission can_delete is set to false. |
canRename | Boolean | true | Visually hides the rename option if this is set to false. Hiding the option alone will not prevent renaming unless the item permissions also set can_rename to false. |
canUpload | Boolean | true | Visually hides the upload option if this is set to false. Hiding the option alone will not prevent uploading unless the current folder permissions also set can_upload to false. This option has no effect when the folder permission can_upload is set to false. |
canCreateNewFolder | Boolean | true | Visually hides the create new folder option. Hiding the option alone will not prevent creating a new folder unless the folder item permissions also set can_upload to false. This option has no effect when the folder item permission can_upload is set to false. |
canShare | Boolean | true | Visually hides the share button if set to false. Hiding the button alone will not prevent sharing unless the item permissions also set can_share to false. This option has no effect when the item permission can_share is set to false. |
canSetShareAccess | Boolean | true | Visually hides the sharing drop down select that allows changing share access, if set to false. Hiding the select drop down alone will not prevent changing the share access unless the item permissions also set can_set_share_access to false. This option has no effect when the item permission can_set_share_access is set to false. |
sharedLink | String | | Shared link URL, required if folder is shared and the access token doesn’t belong to an owner or collaborator of the file. |
sharedLinkPassword | String | | Shared link password, required if shared link has a password. |
size | String | undefined | Indicates to the content explorer to fit within a small or large width container. Value can be absent or one of small or large. If absent the UI Element will adapt to its container and automatically switch between small width or large width mode. |
isTouch | Boolean | Defaults to the browser and device’s default touch support | Indicates to the Content Explorer that it’s is being rendered on a touch enabled device. |
autoFocus | Boolean | false | When set to true, the item grid will get focus on initial load. |
defaultView | String | files | Value can be either be files, recents or metadata. When set to recents, by default you will see recent items instead of the regular file/folder structure. metadata is required to display the metadata view in Content Explorer. If not provided, you’ll get a regular folder view. |
requestInterceptor | Function | | Function to intercept requests. For an example see . Our underlying XHR library is axios.js and we follow a . |
responseInterceptor | Function | | Function to intercept responses. For an example see . Our underlying XHR library is axios.js and we follow a . |
ContentOpenWithProps | Object | { show: false } | Allows you to show the Open With Element when previewing via the explorer. |
token | String | | Developer token generated in the Developer Console. |
metadataQuery | Object | | Metadata query used to get the information for the metadata view. |
rootFolderID | String | | Folder ID with a metadata template applied. metadataQuery will apply to this folder. |
fieldsToShow | Object | | The metadata fields/columns to view - must be valid field names from the metadata template. |