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