Use Javascript controls in Business Central

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024

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

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

    Great video Erik, its pleasantly surprising to see such things in Business Central window!!

  • @natiidrb6622
    @natiidrb6622 3 года назад

    thanks again Erik, since I started my apprenticeship, you are by far my favorite youtuber! :D

  • @SM-hc6ij
    @SM-hc6ij 4 года назад +2

    Great Video, can you do more this type of video,it will be a great learning

  • @antoniocheca3787
    @antoniocheca3787 4 года назад +1

    Great video again. Thank you Erik

  • @houasmeryem5529
    @houasmeryem5529 11 месяцев назад

    hello Thanks for the video but when I tried to run it this bug is appear 'The control add-in manifest is not valid ('.', hexadecimal value 0x00, is an invalid character. Line 989, position 41).' How to fix it

  • @ravisinha5094
    @ravisinha5094 2 года назад

    hi Erik.please take one example to open standard form on click through controladdin form

  • @sheltontembo682
    @sheltontembo682 2 года назад +1

    hi sir, can you do a tutorial connecting any JavaScript web framework with Business Central. Thank you in advance

    • @Hougaard
      @Hougaard  2 года назад +1

      No...

    • @sheltontembo682
      @sheltontembo682 2 года назад

      @@Hougaard is it possible ?, connecting reactjs with business central control add in

  • @superhover
    @superhover 4 года назад

    Nice example, thanks!

  • @sowmyasridhar77
    @sowmyasridhar77 3 года назад

    Great video!!!

  • @tomguan9703
    @tomguan9703 4 года назад

    Add comment to wrong video, just move to here.
    Great video. Learn a lot from here. Thanks. 1 question, I tried to develop a control add-in for business central and encounter an issue. The control add-in suppose trigger an SDK.js(to connect to a scale device) function open separate page. The script works in html page, but when I tried to trigger same function directly in control add-in page action, it won't work. Can I assume that control add-in does not support pop-up page? But if I embed the html page in control add-in and click HTML button, that function still works. Seems I need to use proxy url to connect. But I try to avoid setup web server. Is there a way to do that in Business Central? Thanks T

    • @Hougaard
      @Hougaard  4 года назад

      I have open pop-up windows from BC with:
      LoginWindow = window.open(URL,'_blank',"toolbar=0,location=0,menubar=0,width=500,height=700");
      I just requires your browser to allow pop-ups from your bc domain.

  • @タスマニア-v4u
    @タスマニア-v4u 2 года назад

    Hi, I'm posting from Japan. I always refer to it.
    I have one question.
    I couldn't see the [Microsoft.Dynamics.NAV.InvokeExtensibilityMethod(] part in the video because it was hidden.
    I think you're calling [ControlReady], but I'd like to know more about it.

    • @Hougaard
      @Hougaard  2 года назад +1

      Yes, calling InvokeExtensibilityMethod will trigger an event, ControlReady is an event.

    • @タスマニア-v4u
      @タスマニア-v4u 2 года назад

      Thank you for answering! !
      Excuse me, if I ask you directly,
      Attempting to call a Javascript control add-in with a report request as a trigger will result in NG.
      Below, [The control add-in on control MyControlAddInName on page Direct Debit Collections has not been instantiated.] Do you have a solution? ?

    • @タスマニア-v4u
      @タスマニア-v4u 2 года назад

      From the report request side
      When I try to call the function added in to the [Direct Debit Collections] page, I get an error like this.
      It would be nice if the control add-in could be embedded in the report request itself.

    • @Hougaard
      @Hougaard  2 года назад +1

      @@タスマニア-v4u Not sure what you mean by "report request", but you can only call controladdins that has been initialized and are visible on screen.

  • @debillus
    @debillus 4 года назад

    Nice one. Looking to implement a data inspect function on a page (showing pretty json + xml). Any suggestions or hints?

    • @Hougaard
      @Hougaard  4 года назад +1

      I would combine something like this github.com/summerstyle/jsonTreeViewer with my example for creating dynamics HTML ruclips.net/video/8TurwMAq54c/видео.html

  • @Sapnehigh
    @Sapnehigh 2 года назад

    Hi Erik, I want to develop a function by which we can directly drag and drop a file in attachment of any document or any master like customer and it will automatically save in Attached document using control add in. Please help me out.

    • @Hougaard
      @Hougaard  2 года назад

      Why not buy the SharePoint Connector app, that support fancy drag and drop.

    • @Sapnehigh
      @Sapnehigh 2 года назад

      @@Hougaard I want to develop this function in Business Central using AL.

  • @Handl773
    @Handl773 4 года назад

    🥳🥳🥳

  • @MichaelEgalite
    @MichaelEgalite 2 года назад

    Link to the video Erik mentioned (7:54)
    ruclips.net/video/8TurwMAq54c/видео.html

  • @mauriciovillatoro9361
    @mauriciovillatoro9361 2 года назад

    Wow

  •  4 года назад

    Great video again......
    Trying to use this knowledge, I'm trying to make a ColorPicker for BC using the JavaScript in this page: jscolor.com/
    using one of the examples. (
    Color:
    Large dark picker on button:
    Small RGBA picker:
    )
    But when I launch in BC the page that contains the ControlAddin I get an error in the Browser debuger : jscolor.js?_v=14.0.37587.0:45 Uncaught TypeError: Cannot read property 'jscolor' of null
    at HTMLDocument.init (jscolor.js?_v=14.0.37587.0:45)
    Do you have any idea what can I am doing wrong?

    • @Hougaard
      @Hougaard  4 года назад

      No sure, I'll take a look at some point ...