Get Integer from REST call into table column

  • Thomas
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
      5 years ago #17987

      Hi all,

      this might be a typical beginner question, but how do I get an integer value from a data structure collection that I receive from a rest call into a table column of a widget. The table only accept text (string). Do I have to write a business object with a function that converts to value from integer to string? There must be a simple solution for this.

      Thanks

      Mathieu Roll
          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)
        5 years ago #17990
        Up
        0
        Down
        ::

        Hello,

        the Simplifier is using internally a MVC pattern and has Models for Each Screen.

        By knowing this you can use Bindings where the Simplifier is doing an auto conversion to string.

        https://openui5.hana.ondemand.com/1.60.20/#/topic/bf71375454654b44af01379a3c3a6273

        https://openui5.hana.ondemand.com/1.60.20/#/topic/c98d57347ba444c6945f596584d2db45

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

      You must be logged in to reply to this topic.