Salesforce

OS Center panels

« Go Back
Information
OS Center panels
000004210
Public
Product Selection
aiWare - aiWare
Article Details

There are several OS center panels available in the aiWARE SDK:

Admin Center panel

The Admin Center panel lets you access the Admin Center utility. The Admin Center utility allows users to perform administrative tasks such as managing user accounts, updating the organization profile, creating and managing API keys, and viewing usage data regarding cognitive engine usage. The following example loads the Admin Center panel using the panelID, microFrontend, and panelConfig parameters of the mountPanel method.

// mount the admin center
window.aiware.mountPanel({
     panelId: 'ADMIN_CENTER',
     microFrontend: {
       name: 'ADMIN_CENTER',
     },
     panelConfig: {
       type: 'APP_BAR_PANEL_TEMPLATE',
       marginTop: 55,
       marginStart: 0,
       size: 'xlarge',
       zIndex: 1000,
     },
});

Data Center panel

The Data Center panel lets you access the Data Center utility. The Data Center utility stores and organizes all files imported into your account, and gives you a centralized place to view and manage them in any application you are currently in.

The following example loads the Data Center panel using the panelID, microFrontend, and panelConfig parameters of the mountPanel method.

// mount the data center
window.aiware.mountPanel({
     panelId: 'DATA_CENTER',
     microFrontend: {
       name: 'DATA_CENTER',
     },
     panelConfig: {
       type: 'APP_BAR_PANEL_TEMPLATE',
       marginTop: 55,
       marginStart: 0,
       size: 'xlarge',
       zIndex: 1000,
     },
});

Events

The Data Center panel has these events:

jobCreated

jobCreated runs when the Process with AI button is selected in the AI Capability panel of the Data Center panel.

aiware.on('jobCreated', function(error, {jobId, engineId, tdoId}) {
});

jobCreated returns either an anonymous object or an error object.

Response

{
    jobId: string
    engineId: string
    tdoId: string
}

The anonymous object has these properties:

NameTypeDescription
jobIdStringThe ID of the created job.
engineIdStringThe ID of the engine used in the job.
tdoIdStringThe ID of the TDO associated with the job.

 

Processing Center panel

The Processing Center panel lets you access the Processing Center utility. The Processing Center utility in aiWARE provides the ability to track, monitor, and get alerts for complex and interconnected jobs.

The following example loads the Processing Center panel using the panelID, microFrontend, and panelConfig parameters of the mountPanel method.

// mount the processing center
window.aiware.mountPanel({
     panelId: 'PROCESSING_CENTER',
     microFrontend: {
       name: 'PROCESSING_CENTER',
     },
     panelConfig: {
       type: 'APP_BAR_PANEL_TEMPLATE',
       marginTop: 55,
       marginStart: 0,
       size: 'xxlarge',
       zIndex: 1000,
     },
});

Resource Center panel

The Resource Center panel lets you access the Resource Center utility. The Resource Center utility in aiWARE stores all the resources that are available to an organization. It allows users to view and grant other organizations access to these resources in the form of aiWARE packages.

The following example loads the Resource Center panel using the panelID, microFrontend, and panelConfig parameters of the mountPanel method.

// mount the resource center
window.aiware.mountPanel({
     panelId: 'RESOURCE_CENTER',
     microFrontend: {
       name: 'RESOURCE_CENTER',
     },
     panelConfig: {
       type: 'APP_BAR_PANEL_TEMPLATE',
       marginTop: 55,
       marginStart: 0,
       size: 'xxlarge',
       zIndex: 1000,
     },
});
Additional Technical Documentation Information
Properties
12/5/2023 6:52 PM
12/5/2023 7:00 PM
12/5/2023 7:00 PM
Documentation
Documentation
000004210
Translation Information
English

Powered by