---
title: "IWidgetConfigsForSurface Interface"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.baseeditor.configuration.ui.iwidgetconfigsforsurface.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IWidgetConfigsForSurface Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
A structure defining the configuration of widgets for a separate surface.
  
 - example
     - ```
product: {
    surfaces: [{
            name: "surface1",
            printAreas: [{ designFile: "Postcard_side1" }]
        },
        {
            name: "surface2",
            printAreas: [{ designFile: "Postcard_side2" }]
        }
    ]
};

config: {
    perSurfaceConfiguration: {
        "surface2": {
            widgets: {
                ObjectInspector: {
                    bgItemEnabled: false
                },
                ColorPicker: {
                    showPaletteOnly: false,
                    palette: [[ "rgb(0, 0, 0)", "rgb(255, 255, 255)" ]]
                }
            }
        }
    }
};
```
 
## Properties
 
### Optional ColorPicker
 
ColorPicker: [IColorPickerConfigParsed](https://customerscanvas.com/docs/cc4/customerscanvas.baseeditor.configuration.ui.icolorpickerconfigparsed.htm.md)

Settings defining a color selection in the editor.
 
### Optional LeftToolbarConfig
 
LeftToolbarConfig: [ILeftToolbarConfigParsed](https://customerscanvas.com/docs/cc4/customerscanvas.baseeditor.configuration.ui.ilefttoolbarconfigparsed.htm.md)

*Outdated, use the Toolbox object instead*. Settings of design elements that can be added to a canvas.
 
### Optional ObjectInspector
 
ObjectInspector: [IObjectInspectorConfigParsed](https://customerscanvas.com/docs/cc4/customerscanvas.baseeditor.configuration.ui.iobjectinspectorconfigparsed.htm.md)

Settings defining a position of the **Object Inspector**, an appearance of layers, and messages.
 
### Optional Toolbox
 
Toolbox: [IToolboxConfigParsed](https://customerscanvas.com/docs/cc4/customerscanvas.baseeditor.configuration.ui.itoolboxconfigparsed.htm.md)

Settings of design elements that can be added to a canvas from the **Toolbox**.
