getLibraryAttachments
3p-core / getLibraryAttachments
Function: getLibraryAttachments()
getLibraryAttachments(
formContext
,section?
):InlineItem
<ILibraryAttachmentListItem
|INewLibraryAttachment
>[]
Retrieves the current list of attachments (excluding deleted ones) from the form state.
Parameters
formContext
The current list form context.
section?
string
Optional section to scope attachment filtering.
Returns
InlineItem
<ILibraryAttachmentListItem
| INewLibraryAttachment
>[]
An array of inline attachment items.
Example
getLibraryAttachments(formContext, section?)