Hi Experts,
I tried to recreate the scenario by first converting a text, decimal and date fields into hexadecimal
and further converting the concatenated result value to Base64 by using Base64Convert Codeunit.
But the BC Base64 conversion is giving different result than the actual Hex to Base64 conversion result from online.
Later I realized the the Hex results which I am storing in text variable in BC is actually converting text to Base64 instead of Hex to Base64.
Could you please guide me how to store a Hexadecimal in BC and convert it to Base64 ?
Thanks In Advance.
Maybe you can find something useful in this video from Eric:
Business Central does not have a seperate datatype for handling HEX. But you could of course integrate to an Azure function for handling you HEX data.
Hi Bilal,
Thanks for the answer.
But I already converted my Text to HEX.
The Problem is with Converting the HEX to Base64 format.
It's because I can only able to store the Value of Hexadecimal In Text Variable.
And When I tried to Convert that Hexadecimal value which is stored in a Text Variable, BC trying to convert that as TEXT to BASE64 not HEXADECIMAL to BASE64.
That's why I am asking is there any way to store the HEXADECIMAL value as a specific data type and as it is.( HEXADECIMAL to BASE64).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156