Avoid Cross-Domain Communication Blocking

To avoid cross-domain communication blocking when an Oracle Field Service API is called from a plug-in:
  • For Oracle Field Service hosted plug-ins: When calling an Oracle Field Service API, the plug-in must use a plug-in hosting domain (available in Java script as a value of window.location.hostname property) instead of <instance_name>.fs.ocs.oraclecloud.com.

  • For externally hosted plug-ins: The plug-in must not call an Oracle Field Service API directly from the browser. Instead, the plug-in must call its server side. All the API calls must be performed by the server side and the call results transmitted to the plug-in.