---
title: "IPrivateSourceConfig Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iprivatesourceconfig.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IPrivateSourceConfig Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining properties of the private user gallery.
  
 - example
     - clientConfig.json
 
```
{
  "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"
      }
    }
  }
}
```
 
## Modules
  
|  Name |  Description |
| --- | --- |
 |  [IGallerySourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iprivatesourceconfig.igallerysourceconfig.htm.md) |  A structure defining properties of asset sources. |
 
## Properties
 
### Optional actionMode
 
actionMode: [IActionModeParsed](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iactionmodeparsed.htm.md)

Inherited from [IAssetSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md).[actionMode](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md)
 
### allowedExtensions
 
allowedExtensions: string []

Inherited from [IGallerySourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.igallerysourceconfig.htm.md).[allowedExtensions](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.igallerysourceconfig.htm.md)
 
### Optional autoInsertUploadedFile
 
autoInsertUploadedFile: 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`.
 
### Optional groupingByDateEnabled
 
groupingByDateEnabled: 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`.
 
### Optional overwrite
 
overwrite: 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`.
 
### Optional path
 
path: 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.
 
### Optional rootCategory
 
rootCategory: [ICategory](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.igallerysourceconfig.icategory.htm.md)

Inherited from [IGallerySourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.igallerysourceconfig.htm.md).[rootCategory](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.igallerysourceconfig.htm.md)
 
### type
 
type: "PublicSource"  |  "PrivateSource"

Inherited from [IAssetSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md).[type](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md)
