Install the Sample Plugin

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.

  1. Use the procedure described in the Add a Plugin topic and install the plugin.
  2. Verify the available features of the plugin.
  3. Add the required settings to the plugin (properties, secure parameters, and so on).
  4. Add a button for the plugin on the required page.
  5. Open the plugin and test your business scenarios.
  6. Learn the source code:
    1. Go to the Plugins page and click Sample plugin.
    2. Click Download Source.
    3. Verify the implementation (for example, how to implement the Service Worker to support in offline mode).
    4. Update the code as required.
    5. Follow the instructions in the README.md file to create an archive to upload it back as a Hosted plugin for testing.
    6. Upload the plugin either using the Plugin archive section on the Edit Plugin page, or through a REST API.
    7. Add a button for the plugin on the required page.
    8. Open the plugin and test your business scenarios.
  7. Deinstall the plugin if you don't need it for testing purposes.