atob and bota function in Server Side Business Objects

  • AlexR
        2 years ago #29163

        Hello,

        unfortunately you can not use these two functions in server side business objects. Is there any known workaround?

        Thanks

        Regards

        Dan
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          2 years ago #29164
          Up
          0
          Down
          ::

          Hey,

          you can use the following methods:

          Simplifier.Util.encodeBase64(string: string)

          Simplifier.Util.decodeBase64(json: string)

          For more information have a look at the Server Side Business Object API and select the “Util” tab:

          Server-Side Business Object API

          Best Regards,
          Dan

          AlexR
              2 years ago #29165
              Up
              0
              Down
              ::

              Hello,

              I already did try these two methods. On my side the simplifier methode to encode as base64 does not work with my binary data. We get this data out of our database, where it is stored as blob.

              The result of the simplifier method and the atob() method are clearly different.

               

              Best Regards,

              Alexander

            Viewing 3 posts - 1 through 3 (of 3 total)

            You must be logged in to reply to this topic.