Creating a js instrument page has errors

Version: 1.4.4.

Frequency: Consistently

Severity: Blocker

Marketplace package name:

Context: documentation pages
Creating An HTML/JS/CSS Instrument
Replacing An HTML/JS/CSS Instrument

Similar MSFS 2020 issue: no, docu there was ok!

Bug description: the .js code provided contains an error preventing all the html instruments to show: a black/space after simple

registerInstrument("simple- glass-cockpit-sample", HelloWorldDisplay)```

actually I would expect only the instrument itself to fail, not the full panel going black…should be an opportunity to make a deep dive in the registerInstrument function…

Another fix should be updating the documentation according to the new Sample
Infact the reference to “VCockpit04” is wrong (that was in the monolithic 2020 sample)
the 2024 DA62 has only 2 html instrument (because G1000 is attacched)
the new reference is “[VCockpit02]”

Repro steps:

1 Like

Hello @mamuDesign ,

Thank you !
This is now logged in our backlog.

Regards,
Boris

Thanks,

add to the list this page here, the whole electrical systems are changed in 2024

Debugging HTML/JS/CSS Instruments

What do you mean ?
The screenshots provided in the Debugging The Electrical System
section are the same as what we have in game.

However, the behavior debug section screenshoot is out of date. I logged an issue.

Regards,
Boris

Hello @mamuDesign

Both [VCockpit02] and simple-glass-cockpit-sample example in the documentation sdk 1.5.3 has been fixed.
Can you confirm ?

Regards,
Boris

This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.

If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.