f365.version

The runtime version constant, useful for diagnostics and conditional behaviour across runtime upgrades.

f365.version is the runtime version of the SharePoint Forms365 JavaScript framework, hand-synced with the package version on every release.

Use cases

  • Diagnostic logging, include in error reports so we can correlate behaviour to a specific runtime build
  • Conditional features, gate calls to APIs introduced in a known minimum runtime

Log the runtime version on form load

f365.events.onLoad(() => {
  console.log(`[my-form] running on f365 ${f365.version}`);
});