A file attachment control is bound to a string attribute (of the string data type). This attribute stores the unique identifier of the group (GroupID). The group contains one or more files with their own unique identifier (FileID).

To retrieve and manipulate files within a group, users can apply any of the following services in their custom code:

  1. Get Files by GroupID
List<DmsFile> bpmAppService.BPMSServices.DmsService.GetFileFromControl (string GroupID, bool isWithContent)
Code Example
var files = bpmAppService.BPMSServices.DmsService.GetFileFromControl(domainObject.VendorManualMultiple, false);
  1. Get File Content by FileID
byte[] bpmAppService.BPMSServices.DmsService.GetFileContent(Guid FileID)
  1. Add a New File to the Group
Guid bpmAppService.BPMSServices.DmsService.AddAttachFile(byte[] buffer, string name, string GroupID)