How to encode a list and store in database
Question
Application Type
Mobile

I have a list variable which i want to convert into a base 64 encoded string or any other encoding and store it in database.

Is it possible without a javascript in mobile app?

mvp_badge
MVP

Hi LearnIt,


You can serialize your list (to JSON format) to a text variable using JSON Serialize from the toolbox and use TextToBinary function from BinaryData extension (comes with the platform) to have a binary and then save it on the database:




Hope it helps.


Kind Regards,
João

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.