Skip to main content

Version: 22.04

Attachments

The attachments property is used to configure the attachments card in the Details screen.

The Workspaces Applicant space supports the following customization options:

  • duplicates
  • filter

Options

duplicates

When set to true, duplicates are removed from the attachments UI.

filter

When configured, attachments that match the filter.regex pattern are included or excluded depending on the filter.action.

Example

The following example showcases how to configure the attachments card.

src/configs/custom/applications.ts
import { ConfigCurrentSpace } from '@transact-open-ux/workspaces/dist/types';

export const applicationsConfig = ({ date }: any): ConfigCurrentSpace => ({
...
attachments: {
duplicates: true,
filter: {
action: 'exclude',
regex: '.zip',
},
},
...
});

export default applicationsConfig;

Attributes

To review the list of supported attributes, see API Reference.