Posted inDynamics NAV & BC Tips & tricks
Decode Base64 BigText
With this code you can decode a BigText variable with a Base64 coded string (in this case a PDF document).... abpBigPDFText -> BigText abpAutConvertBase64 -> DotNet 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Convert abpAutBytes -> DotNet 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Array abpAutMemoryStream -> DotNet 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.IO.MemoryStream abpOutStream ->…