Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WebAPI and FMCS Screens

Featured Replies

Hi, I am using your WebAPI to serve FMS screens for my MSFS2024 aircraft.

AAO ver: 4.58 b02

Download used: https://www.axisandohs.com/downloads.html fmcs.zip

Location of unzipped aircraft files: C:\Users\<username>\OneDrive\Documents\LorbyAxisAndOhs Files\WebPages

All of the aircraft FMS Bezels are correctly served and the buttons work correctly to operate the in-Sim FMS, but the actual FMS screen is not displayed in the served page for any of the aircraft. So good 2-way communication to the remote page is proven.

Console errors for all the served pages show a similar error, (example is the c750):

GET http://localhost:43380/webapi/c750/global.js net::ERR_ABORTED 404 (File not found)

Refused to execute script from 'http://localhost:43380/webapi/c750/global.js' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

Uncaught ReferenceError: raltdown is not defined

So at least one problem is the runtime global.js is not found. It isn't included in any of the downloads and isn't being generated on the fly by the core executable.

I hope you can you help me solve this problem.

Thanks in advance, an otherwise avid AAO user!

  • Commercial Member

If those are the Vol.2 FMCs, then they have been installed incorrectly. You must keep the structure \Documents\LorbyAxisAndOhs Files\WebPages\fmcs\... intact, with the URL /webapi/fmcs/c750/. The global.js is in the top folder "/fmcs/"

On a side note, AAO can be in trouble when you are outsourcing your user account data to OneDrive - like you seem to be doing according to the path that you posted above.

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks so much for the quick reply, that fixed it. If Windows is installed using a Microsoft account, which I think is most users, OneDrive is automatically created, and the default Windows ...\Documents\ folder is placed there both locally and in the cloud. If AAO can only use the windows default ...\Documents\ directory this will be the case for many if not most Windows users these days. But if you can let me know how to control where AAO looks for \Documents\LorbyAxisAndOhs Files\*.* I'll happily move everything.

  • Commercial Member

It is what it is. Files in the cloud aren't files at all, they are just download links. So if you store all your \Documents\ only in the cloud, then AAO will not be able to use that folder. It will instead (automatically) use its' configuration folder in \AppData\Local\LORBY_SI\

Edited by Lorby_SI

LORBY-SI

7 hours ago, Nigelas said:

Microsoft account, which I think is most users,

Never have never will for just such reasons!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.