Adding a javascript Color Picker in AL to Business Central

Поділитися
Вставка

КОМЕНТАРІ • 28

  •  4 роки тому

    Hey................
    Great...... You are really, really fast, and hardworker.....
    Thank you ever so much.

  • @reneschmidt3972
    @reneschmidt3972 4 роки тому

    Great video Eric! I really enjoy your videos

  • @bas9022
    @bas9022 Рік тому +1

    Hi Erik, the video's are very inspiring! JavaScript opens new possibilities! Just wondering if it’s also possible to use it in the background and not with a usercontrol.
    I would like to modify PDF’s by putting a watermark picture on top of a PDF page in the background with the jobqueue when a certain process is done.

    • @Hougaard
      @Hougaard  Рік тому

      No, only through a user control.

  • @mauriciovillatoro9361
    @mauriciovillatoro9361 3 роки тому

    So cool, more videos like this please.

  • @SpyFr
    @SpyFr 3 роки тому +1

    Hi Erik,
    Could it be possible to set a red background color for a dev instance, orange for a user test instance... ? So we could be able to immediately identify which instance we are on.
    I mean the back-background of the html page.
    The label we can define in the company information card is not enough, good for the current company identification but I'm looking for an obvious graphical solution.
    [On-Prem 18.0]

    • @Hougaard
      @Hougaard  3 роки тому +1

      Check this for inspiration ua-cam.com/video/GaL_YSULug4/v-deo.html

    • @SpyFr
      @SpyFr 3 роки тому

      Very nice 👍
      Thank you Erik

  • @ExcelObianyiscoarts
    @ExcelObianyiscoarts Рік тому

    Good day. Wonderful video. I have a question, How can I create a color field in a page using a control addin?

    • @Hougaard
      @Hougaard  11 місяців тому

      There's a video on the channel with some javascript hackery that does that :)

    • @ExcelObianyiscoarts
      @ExcelObianyiscoarts 11 місяців тому

      Thanks@@Hougaard

  • @lk75yt
    @lk75yt 3 роки тому

    Can you briefly explain the advantages of the used color picker? Why don't you use a html color input? As far as I can tell this does the exact same thing, except some built-in logic for getting the selected color's values (other than hex).

    • @Hougaard
      @Hougaard  3 роки тому +1

      Just an example of how to something like that in AL.

    • @lk75yt
      @lk75yt 3 роки тому +2

      @@Hougaard if you or anyone else is interested I have uploaded my solution with the html input on github:
      github.com/lassekilperkm/HTML-Color-Picker

    • @Hougaard
      @Hougaard  3 роки тому

      Nice!

    • @JosepPages7
      @JosepPages7 2 роки тому

      @@lk75yt thanks a lot!

  • @alexjose7100
    @alexjose7100 4 роки тому

    Hi Erik,
    Thank you so much for this great video.
    Just one small doubt, can we pick a color from the picker and change the background color of a another field in the page?

    • @Hougaard
      @Hougaard  4 роки тому +4

      That would be a major hack... but a good one, let me think about that :) (Putting it on the videos-to-do-list)...

    • @alexjose7100
      @alexjose7100 4 роки тому

      @@Hougaard looking forward for the video 😍

  • @rohitkumar-th8nj
    @rohitkumar-th8nj 4 роки тому

    Thanks Erik, i learn lot from yours videos, could you make a video on how to store records in json and display them in controladdin.

    • @Hougaard
      @Hougaard  4 роки тому

      What's the use case?

    • @rohitkumar-th8nj
      @rohitkumar-th8nj 4 роки тому

      Situation where some modifications are to be done in some records based on some condition the idea was to to preview changes before commit to DB.

    • @anavalcazar
      @anavalcazar 3 роки тому

      @@rohitkumar-th8nj Hi. ¿Did you discover the way? I'm triyng this exact point, store records from BC in Json and display them in a pageext with controladdin.

  • @gertlynge
    @gertlynge 4 роки тому

    Is that a Commodore 64 behind you? Does it work? 🙂

    • @Hougaard
      @Hougaard  4 роки тому

      Yes, they do work! (There's actually 2 C64s, the Vic-20 behind me haven't started in quite a few years).....

    • @gertlynge
      @gertlynge 4 роки тому

      Cool. The VIC20 was my first computer. Learned to program on that in Basic. Life was way simpler with just 4KB RAM and no strange AL compiler errors 😉

  • @ant1d0te
    @ant1d0te 4 роки тому

    So now you say to BC developers: AL is nothing, learn JavaScript because it is the future of BC! :)

    • @Hougaard
      @Hougaard  4 роки тому +1

      No, but I am kinda saying that Javascript is the new language of the client as soon as you're "outside" pure business logic.