Install the Sample Plug-In

The Sample plug-in is available and accessible out-of-the-box within Oracle 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 Standard Plug-In topic and install the plug-in.
  2. Verify the available features of the plug-in.
  3. Add the required settings to the plug-in (properties, secure parameters, and so on).
  4. Add a button for the plug-in on the required page.
  5. Open the plug-in and test your business scenarios.
  6. Learn the source code:
    1. Go to the Standard Plugins page and click Sample plug-in.
    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 plug-in either using the Plugin archive section on the Edit Plugin page, or through a REST API.
    7. Add a button for the plug-in on the required page.
    8. Open the plug-in and test your business scenarios.
  7. Deinstall the plug-in if you don't need it for testing purposes.