Custom Card
| Suitable Enviroment | SaaS | 
| Private Deployment | 
Requirements
| ONES | 
|---|
| v3.13.50+ | 
Overview
We support add custom cards in the dashboard for "ONES Project" - "Project component" - "Overview" - "Edit the dashboard" - "Add widget"
The slots currently supported are as follows:
Slots
ones:dashboard:card:new
Module path: ONES Project / Project component / Overview / Edit the dashboard / Add widget
**Number limit: ** Declare a maximum of 10 slots in each plugin, and up to 100 slots in the system.
caution
the module must be used with the backend business capability dashboard card
Usage
- id: ones-dashboard-card-new-jIfv
  title: Custom Card
  description: Custom Card Description
  defaultCardName: Default Card Name
  icon: custom-card.svg
  defaultLayout:
    h: 4 # height
    w: 5 # width
  layout:
    minH: 3 # minimum height
    minW: 3 # minimum width
    maxH: 6 # maximum height
    maxW: 6 # maximum width
  objectType: # the type of the dashboard
    - project_component
  moduleType: ones:dashboard:card:new
  modules:
    - id: ones-dashboard-card-new-C9Hv
      title: render
      scene: render # the render area of the card
      entry: >-
        modules/ones-dashboard-card-new-jIfv/ones-dashboard-card-new-C9Hv/index.html
    - id: ones-dashboard-card-new-kjkK
      scene: setting
      title: setting # the setting area of the card
      entry: >-
        modules/ones-dashboard-card-new-jIfv/ones-dashboard-card-new-kjkK/index.html