Version: 23.04
Attachments
The attachments
property is used to configure the attachments card in the Details screen.
Journey Engage supports the following customization options: duplicates
, filter
.
Attributes
All attributes are optional unless otherwise indicated.
Attribute | Description |
---|---|
duplicates | boolean When set to true , duplicate attachments are removed from the attachments UI. |
filter | CurrentSpaceAttachmentsFilter When configured, attachments that match the filter.regex pattern are included or excluded depending on the filter.action . |
To review the list of supported attributes, see API Reference.
Example
The following example shows 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;