How to access telemetry data from AL code in Business Central

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • Find more information at my blog www.hougaard.com or follow me on / ehougaard
    Source code can be found here: github.com/hou...

Комментарии •

  • @DmitryKatson
    @DmitryKatson Год назад +2

    Just to add to this. The last "rows" array is actually not standard array of jsonObjects, but it's an array of JsonValues. So to get appInsights values we need to know exact order of columns and then associate values to columns. So in Erik example that should look like
    var
    columnJV: JsonValue;
    valueTxt: text;
    row.Get(0, T); //eventId
    columnJV := T.AsValue();
    valueTxt := columnJV.AsText()
    row.Get(1, T); //companyName
    columnJV := T.AsValue();
    valueTxt := columnJV.AsText()
    row.Get(2, T); //message
    columnJV := T.AsValue();
    valueTxt := columnJV.AsText()

  • @JosepPages7
    @JosepPages7 Год назад +1

    Great video and very useful to understand how to call web services and get results. In the Microsoft official documentation they should put links to this video, I'm sure many AL developers would appreciate it. Thank you Erik!

    • @Hougaard
      @Hougaard  Год назад

      Stay tuned, it's web-service-week on the channel, much more to come ;)

  • @chriswatson2407
    @chriswatson2407 Год назад +2

    Best CONTENT on yt...

  • @DmitryKatson
    @DmitryKatson Год назад

    That’s something that I planed to do tomorrow:) Thanks, Erik!

  • @ant1d0te
    @ant1d0te Год назад +1

    27:52 you forgot about Request Content assignment, yes, I was almost yelling :D

    • @Hougaard
      @Hougaard  Год назад +1

      Gotta keep you on your toes :)

  • @umarnaeem6128
    @umarnaeem6128 Год назад

    Awesome ! Erik can you do a lecture on something like triggers precedence :)

    • @Hougaard
      @Hougaard  Год назад +2

      These's already a video on that, go find it :)

    • @umarnaeem6128
      @umarnaeem6128 Год назад

      ​@@Hougaard I have searched in your videos library with TRIGGERS as a keyword, but did not find a single video with Triggers in the title, i wonder where that video is :/

    • @Hougaard
      @Hougaard  Год назад +2

      Something with validate perhaps

    • @umarnaeem6128
      @umarnaeem6128 Год назад

      @@Hougaard Got it, Thanks

  • @arthrvdv
    @arthrvdv Год назад

    Word of the day: JsonGymnastics 😂