Version: 20.05

Global Actions

The globalActions property is used to show/hide and configure global actions in the List Screen. Currently Workspaces support one global action: CreateForm.

Options

Note

Please notice that globalActions is not mandatory.

Create Forms

The CreateForms is used to show/hide the Create Forms button that allows Workspaces users to create new forms using Maestro forms.

CreateForms relies on globalActions.CreateForms.options in order to display the form list.

Example

The following example showcase how to configure the create form feature.

src/configs/custom/process.ts

import { ConfigCurrentSpace } from '@transact-open-ux/workspaces/dist/types';
export const processConfig = ({ date }: any): ConfigCurrentSpace => ({
...
globalActions: {
CreateForm: {
label: 'New Form',
options: ['Deposit Account Opening'],
},
},
...
});
export default processConfig;

Attributes

To review the possible attributes please check the API Reference.