Adding Customizations
Make sure to add comments in the plugin wherever the customization snippet is added.
To add a customization:
1. Navigate to “-app” folder > “xsl-stylesheet” folder.
A list of style sheets is displayed in the folder. Each style sheet is used to display specific screens in the plugin.
2. To add a read-only property:
a. Add the label and xpath of the element.
b. Click Save to save the xsl sheet.
c. Navigate to the app.js file.
d. Search and find the “inputXML” text.
e. Add the element in the form of XML data.
"<elementName> [OFSC Property value]</elementName>
3. Save the app.js file and run the grunt command to generate the build.
4. Upload the build file to the Oracle Field Service plugin.
5. Add the customized property to plugin properties.
6. To add an editable property:
a. Add the label and input the type elements.
b. Save the XSL file.
c. Navigate to the app.js file.
d. Search and find the “inputXML” text.
e. Add the element in the form of XML data.
"<elementName> [OFSC Property value]</elementName>
f. Go to the completionText property to get the value of the property and assign it before sending it back to Oracle Field Service.
7. Save the app.js file and run the grunt command to generate the build.
8. Upload the build file to the Oracle Field Service plugin.
9. Click Save to save the plugin.