The Sample plugin is available and accessible out-of-the-box within Oracle Fusion Field Service. You can install and use it as a sandbox for testing, checking
requests, and checking features such as the Barcode scanner, Print file, and Service Worker.
-
Use the procedure described in the Add a Plugin topic and install the
plugin.
-
Verify the available features of the plugin.
-
Add the required settings to the plugin (properties, secure parameters, and so
on).
-
Add a button for the plugin on the required page.
-
Open the plugin and test your business scenarios.
-
Learn the source code:
-
Go to the Plugins page and click Sample plugin.
-
Click Download Source.
-
Verify the implementation (for example, how to implement the Service
Worker to support in offline mode).
-
Update the code as required.
-
Follow the instructions in the README.md file to create an archive to
upload it back as a Hosted plugin for testing.
-
Upload the plugin either using the Plugin
archive section on the Edit Plugin
page, or through a REST API.
-
Add a button for the plugin on the required page.
-
Open the plugin and test your business scenarios.
-
Deinstall the plugin if you don't need it for testing purposes.