Active Overflow Menu
Permissions / Feature flags
Bound attachment items (supports direct data-binding / manipulation)
OptionalConfigAttachment configuration bag
Edit Metadata Dialog
OptionalEntityExplicit EntityID (alternative to passing Record)
OptionalfileMaximum panel width ratio of viewport
Minimum panel width in px
Active Preview State
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
OptionalRecordEntity record to load attachments for
OptionalRecordExplicit RecordID (alternative to passing Record)
OptionalreplaceWhether the slide panel is resizable
UI Controls
Panel title
User Permissions
Whether the slide panel is visible
Initial width in px. 0 = auto/persisted setting
StaticɵdirStaticɵfacReturns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Deletes an attachment completely (unlinks and deletes from storage provider).
Opens the attachment in a new browser tab for direct viewing.
Optionalbytes: number | nullOptionalproviderName: string | nullA callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Opens the file record in a dedicated MJ Explorer workspace tab and closes the attachments slide-in panel. If running standalone/outside Explorer, falls back to opening the in-app media preview modal.
Opens the in-app rich media preview modal for an attachment.
Refreshes the linked attachments list by querying MJ: File Entity Record Links and MJ: Files.
Replaces an existing attachment with a newly uploaded file.
Initiates replace workflow for an existing attachment.
Unlinks an attachment from the record (keeps file in storage).
Uploads one or more files and links them to the active record.
OptionalstorageAccountId: stringOptionalcategoryId: string
World-class Angular component for displaying, previewing, uploading, and managing file attachments linked to an entity record.
Selector:
mj-record-attachments