Back to Website
Show / Hide Table of Contents

Interface IAssetSources.IPrivateSourceConfig

A structure defining properties of the private user gallery.

Inheritance
IAssetSourceConfig<"PublicSource" | "PrivateSource">
IGallerySourceConfig
IAssetSources.IPrivateSourceConfig
Package: @aurigma/design-editor-iframe
Examples
{
  "assetSources": {
    "My files": {
      "type": "PrivateSource",
      "allowedExtensions": [ "jpg", "jpeg", "png", "bmp", "svg", "pdf" ],
      "groupingByDateEnabled": true,
      "autoInsertUploadedFile": true,
      "overwrite": true,
      "path": "order_3",
      "actionMode": {
        "pdf": "Shape",
        "svg": "Shape"
      }
    }
  }
}

Properties

autoInsertUploadedFile

If true, the Asset Manager closes as soon as it uploads a user image. After that, this image is automatically inserted into the placeholder or image layer. The default value is false.

Declaration
autoInsertUploadedFile?: boolean;
Property Value
Type Description
boolean

If true, the Asset Manager closes as soon as it uploads a user image. After that, this image is automatically inserted into the placeholder or image layer. The default value is false.

groupingByDateEnabled

If true, arranges images by date. The list of dates when the user uploaded the images appears in the Categories. The default value is false.

Declaration
groupingByDateEnabled?: boolean;
Property Value
Type Description
boolean

If true, arranges images by date. The list of dates when the user uploaded the images appears in the Categories. The default value is false.

overwrite

Allows for overwriting images with existing names. If false, the name of the uploaded file is changed by adding _1, _2, etc. to it. The default value is false.

Declaration
overwrite?: boolean;
Property Value
Type Description
boolean

Allows for overwriting images with existing names. If false, the name of the uploaded file is changed by adding _1, _2, etc. to it. The default value is false.

path

A subfolder of userdata/user/images, where the Asset Manager saves uploaded files. By default, this is an empty string, and images are saved in the userdata/user/images folder.

Declaration
path?: string;
Property Value
Type Description
string

A subfolder of userdata/user/images, where the Asset Manager saves uploaded files. By default, this is an empty string, and images are saved in the userdata/user/images folder.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback