Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Filter inputs

NameTypeDescriptionMandatoryAvailable from versionComment
OwnerGuidThe owner of the file in the system 

A file will be accessible (Customer Front > Forms) for all end-users when adding a file with guid empty as owner and permission All. 
FileNamestringThe name of the file in the BFS  


ContentTypestringThe content type of the uploaded fil (eg "application/pdf")  


PermissionEnumFilePermission.All / FilePermission.AdminOnly / FilePermission.AdminPartner  


fileBytesbyte[]Array of bytes containing the file  

 





Code examples

Code Block
languagec#
themeRDark
titleC# example
collapsetrue
FileInfoUpload oFileInfo = new FileInfoUpload
            {
                ContentType = "application/pd",
                fileBytes = data, //array of bytes
                FileName = "test.pdf",
                Owner = new Guid("5b32b92-a7c4-4ce9-f5cb-451ab37faa12"),
                Permission = FilePermission.All
            };

...


Blog Posts
sortcreation
contenttitles
labelsCreateAccounts