how to use base64 encode?

2
How to use the base64 encode file to display an image which is consumed through rest API since the image is not supported in json? pease provide documentation if available
asked
1 answers
0

You’ll need to create an entity that is a generalisation of System.Image in your domain model,

To show the encoded image you’ll need to create an instance object of this new entity, and pass this into the Base64DecodeToFile action in Community Commons, along with the base64 encoded string.

You should then be able to pass this object into an Image Viewer widget to show it on screen.

Hope this helps.

answered