11
Views
3
Comments
How to use the datatype (Text) of Image data which is consumed from RestAPI
Question

The data which I consumed by API which has a datatype of text for the image attribute. how can I use that data in binary format?  is that possible to display the image which is coming from the particular api 

Rank: #137

Hi Aswin Parthiban,

Yes you can convert Text To Binary Data using BinaryData Extension

May i know API return which format e.g. as a URL or Base64 

Please see below snapshot for reference 

Hope this will help you :)

Please let me know if you have any query.

- AV

Thanks

Hi Aswin,

Use this BinaryData extension.

Hope it' help.

Regards,

Samiksha

Rank: #609

Hi Aswin,

It is not possible to display image with text data type.

you can use below function to achieve this replace "Text" with your variable and call it either creating the record or while displaying the image.

TextToBinaryData(Text,Encoding:)

Hope this will help you,

Regards,

Vipasha