Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Overview

Adds a new file to repository with base64 encoded content and returns created file info.

FileInfo myFiles.AddBase64(content: string, name: string, mimeType: string)

Arguments

string content
Base64 encoded file content
string name
Name of file
string mimeType
Mime type of file.

Example

Usage

// PDF example
var pdfFile = $Files.AddBase64(invoice, 'temp.pdf', 'application/pdf');

// Zip example
var zipFile = $Files.AddBase64(invoices, 'temp.zip', 'application/zip');

See Also

  • No labels