Returns data as text in Base64 format.
Base64Encode(data)
data
- any text expression or field.
text
FileMaker Pro 13.0
This function converts text in text fields, variables, and calculations to UTF-8 format before encoding it (container data is not converted before encoding it). Base64Encode follows the RFC 2045 standard for formatting Base64-encoded text. See Base64EncodeRFC function.
Base64 encoding does not retain the filename or extension of encoded container field content.
Base64Encode(Products::Color)
returns QmxhY2s= when Products::Color is set to "Black".
Base64Encode(Products::Container)
returns a string that begins with iVBORw0KGgoAAAANSUhEUgAAAB8 when Products::Container is set to . The Base64 string in this example was shortened for readability.