Page WSB_BRGFileFactBox¶
A factbox page for viewing and editing file records linked to records in Business Central.
Properties¶
| Name | Value |
|---|---|
| ApplicationArea | #All |
| Caption | Files |
| DeleteAllowed | True |
| InsertAllowed | False |
| LinksAllowed | False |
| ModifyAllowed | False |
| PageType | ListPart |
| ShowFilter | True |
| SourceTable | 11249900 |
| SourceTableTemporary | True |
| SourceTableView | sorting(CreatedDateTime) order(descending) |
| UsageCategory | None |
Methods¶
wgFncGetRecordId¶
Gets the record ID of the record to which new Document Archive files should be attached to.
Returns¶
| Type | Description |
|---|---|
RecordId |
The record ID. |
wgFncSetDragDropVisible¶
Sets weather or not the Drag and Drop control add-in should be shown.
Parameters¶
| Type | Name | Description |
|---|---|---|
Boolean |
pDragDropCtrlVisible |
The value to be set to Visibility property of the control. |
wgFncSetRecordId¶
Sets the record ID of the record to which new Document Archive files should be attached to.
Parameters¶
| Type | Name | Description |
|---|---|---|
RecordId |
pRecordId |
The record ID of the record to attach new Document Archive files to. |
wgFncShowFactBox¶
Retrieves whether or not this factbox should be shown.
Returns¶
| Type | Description |
|---|---|
Boolean |
true iff the factbox should be shown. |
wgFncGetFileRecords¶
(Re)loads the file records for the current parent record (the record that the files are linked to).
wgFncUploadFile¶
Upload a file to the Document Archive remote file storage location.
Parameters¶
| Type | Name | Description |
|---|---|---|
Text |
pBase64Data |
The file data in Base64 encoding. |
Text |
pFileName |
The filename the file is filed under. |
Text |
pFileExt |
The file extension that the file is filed under. |
Text |
pMessageFrom |
The sender's email address when file is an email. |
DateTime |
pMessageDateTime |
The email date/time when file is an email. |