- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- APIs
- IFrame API
- Getting Started with IFrame API
- Using the Design Atoms Framework in IFrame API
- Changing the Product Size
- BaseEditor Module
- Configuration Module
- Ui Module
- ColorPickerSectionViewType Enumeration
- ColorPickerTarget Enumeration
- IActionModeParsed Interface
- IAssetManagerConfig Module
- IAssetSources Module
- IAutoZoomConfigParsed Interface
- IBarcodeDialogConfigParsed Interface
- IBottomToolbarConfigParsed Interface
- IColorPickerConfigParsed Interface
- IColorPickerConfigSection Interface
- ICommonConfigParsed Interface
- IFinishButtonConfigParsed Interface
- IFitTextRectangleSettings Interface
- IImageEditorDialogConfigParsed Interface
- IItemMenuConfigParsed Interface
- INoColorSection Interface
- IObjectInspectorConfigParsed Interface
- IPaletteSection Interface
- IPerSurfaceConfiguration Interface
- IRangeParamsParsed Interface
- IRecentSection Interface
- IRichComboValuesConfigParsed Interface
- IRichTextDialogConfigParsed Interface
- IShowHintSettingsParsed Interface
- IShowInputSettings Interface
- ISurfaceSwitchConfigParsed Interface
- ITextOutlineParsed Interface
- ITextShadowParamParsed Interface
- IThemeSection Interface
- IToolboxConfigParsed Module
- ITopToolbarConfigParsed Interface
- IWidgetConfigsForSurface Interface
- IWidgetsConfig Interface
- IZoomConfigParsed Interface
- IZOrderConfigParsed Interface
- SectionType Enumeration
- Ui Module
- Configuration Module
- IframeApi Module
- Web API
- Design Atoms Framework
- UI Framework
- Dynamic Image API
- IFrame API
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
IRemoteSourceConfig Module
Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation
A structure defining properties of the Google Drive and Amazon S3 sources.
Interfaces
| Name | Description |
|---|---|
| IRootFolderConfig |
A structure defining the appearance of the root folder. |
| ISortType |
A structure defining options to sort assets. |
Properties
Optional actionMode
Optional allowedExtensions
An array of image types that the user is allowed for uploading to Amazon S3. The complete list of supported extentions is ["jpg", "jpeg", "png", "bmp", "gif", "tiff", "svg", "pdf", "ai", "psd"].
Optional autoInsertUploadedFile
If true, the Asset Manager closes as soon as it uploads a user image to Amazon S3. After that, this image is automatically inserted into the placeholder or image layer. The default value is false.
Optional fileSortTypes
The sort order of folders in the navigation tree of the Asset Manager.
Optional folderSortType
The sort order, according to which a list of images appears in the Asset Manager's gallery.
Optional overwrite
Allows for overwriting images with existing names when uploading images to Amazon S3. If false, the name of the uploaded file is changed by adding _1, _2, etc. to it. The default value is false.
Optional requestParams
Additional parameters of HTTP requests. For example, you need to pass the token and corpora properties for the Google Drive source in the case if you have a service account. The Google Drive source can also take allowedItemOwnership specifying what asset types should appear in the Asset Manager: personal, shared, or all. For Amazon S3, you must pass the userId (a folder in S3 backet) and token.
requestParams declaration
-
[name: string ]: string
Optional requestUploadUrl
Optional rootFolder
Defines the appearance of the root folder.
Optional rootId
Restricts access to images by specifying a rootId. Alternatively, you can specify IRemoteSourceConfig.subfolder if the subfolder has a name.
Optional subfolder
Restricts access to images by specifying a subfolder name. Alternatively, you can specify IRemoteSourceConfig.rootId if the subfolder has an ID.
type
Optional uploadEnabled
If true, allows your users to upload their images to your Amazon S3 bucket. The default value is false.
url
The URL of the Google Drive web service communicating with the remote source. For more details about configuring the service, refer to the Google Drive and Amazon S3 topics.