No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Working with Base64 Binary Encoded Strings
When working with Base64 encoded binary documents, you
should access the document directly using the Id, rather than decoding
Base64 in JavaScript.
Base64 encoding and decoding is very slow in JavaScript. Also, encoding and decoding does not work correctly for binary or multibyte strings. We do not recommend that you manipulate Base64 binary encoded strings with the AJAX Toolkit. However, if you want to read a document with Base64 binary encoding, you can use the API to query for the Id of the document and then download it directly from the server.
The following example demonstrates how to query for the document Id and then download it from the server: