}//END getClientDataObject_FieldGroup method. //=================================================================================== /// <summary> /// This method generates the relevant inary files groups for the milestone record page. /// </summary> /// <param name="Page">Evado.Model.UniForm.Page object</param> //----------------------------------------------------------------------------------- private void getClientDataObject_BinaryFileGroup ( Evado.Model.UniForm.Page Page ) { this.LogMethod ( "getClientDataObject_BinaryFileGroup" ); // // Initialise the methods variables and objects. // this.Session.FileMetaDataList = new List<EvBinaryFileMetaData> ( ); // // Exit if binary ResultData is not being collected. // if ( this.Session.Trial.Data.EnableBinaryData == false ) { this.LogValue ( "Trial not collecting binary data." ); return; } // // Initialise the binary file object to retrieve binary files associated with the visit. // EuBinaryFiles binaryFiles = new EuBinaryFiles ( this.ApplicationObjects, this.ServiceUserProfile, this.Session, this.UniForm_BinaryFilePath, this.UniForm_BinaryServiceUrl, this._FileRepositoryPath, this.ClassParameters ); binaryFiles.LoggingLevel = this.LoggingLevel; this.LogValue ( "Initialise the binary files class. " + binaryFiles.Log ); Evado.Model.UniForm.Group group = binaryFiles.getListGroup ( EuAdapterClasses.Ancillary_Record, 200 ); this.LogValue ( "binaryFiles.getListGroup debuglog: " + binaryFiles.Log ); if ( group != null ) { this.LogValue ( "Display group not null" ); Page.AddGroup ( group ); } // // If the user has edit access add binary upload pageMenuGroup. // if ( Page.EditAccess == Evado.Model.UniForm.EditAccess.Enabled ) { // // Get the binary file pageMenuGroup // group = binaryFiles.getUploadGroup ( EuAdapterClasses.Ancillary_Record ); this.LogValue ( "binaryFiles.getUploadGroup debuglog: " + binaryFiles.Log ); if ( group != null ) { this.LogValue ( "Upload group not null" ); Page.AddGroup ( group ); } } this.LogMethodEnd ( "getClientDataObject_BinaryFileGroup" ); }//END getClientDataObject_BinaryFileGroup method