You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Develop a Simple OFS Hosted Plugin

edited Jul 5, 2024 10:47AM in Field Service 1 comment

This page details how to develop a simple hosted plugin using plugins API, host it as a plugin archive within OFS, and use it.

With this simple plugin, the plugin runtime behaviours including the plugin API messages flows during its life cycle are also explained.

Some Basics

Every plugins in OFS mobility application are loaded within an iframe.

The OFS Plugin APIs enables back and forth communication between OFS main application and the plugin application. Plugin APIs are invoked using JavaScript windows.postMessage() API. The plugins listen to message events from plugin framework by listening to the specific message events using JavaScript 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!