You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get image file content from file manager in BML and convert to base 64 format

Received Response
31
Views
5
Comments

Summary:

Get image file content from file manager in BML and convert to base 64 format


Content (please ensure you mask any confidential information):

I am trying to get content of image file stored in file manager and trying to convert in base 64 format.

Is there any way to achieve this use case?

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

I am trying with below code snippet but it is not giving desired result :

myHeaders = dict("string");

put(myheaders, "Content-Type", "image/png");

resultStr = encodebase64(urldatabyget(FileManagerImageURLPlaceHolder,"","ERROR",5000,myHeaders));

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!