Create Custom Objects Manually

Three custom objects are required to use the notes functionality that is available when using Service Cloud as the back-end service application for the accelerator.

Before you begin

Follow these steps to create custom objects manually in Service Cloud:

Procedure

  1. Using an administrative account for Service Cloud, login to the Agent Console.
  2. Use the navigation pane to open the Database section and select Object Designer.
  3. To create a Model Object, select the AR package in the Custom Objects viewer.
  4. Click New and select Object.
  5. The ribbon has a section called Show. Ensure that Summary is selected and name the object Models.
  6. Click the Fields tab and check the system provided fields listed below:
    • Created Time
    • Created By Account
    • Updated Time
    • Updated By Account
    • Notes
  7. Two unique fields will need to be created, as well. Click the Add New Field button and create a field called Model.
    This field can have any length, but it is recommended the length be 40 characters or greater to account for lengthy IoT device naming schemes.
  8. Select Model as the Object Lookup from the fields list.
  9. Create a field called DeviceId using the same parameters as the Model field above. This field should be included in the Single Field Index by checking the appropriate box.
  10. To create a ModelNodes Object, select the AR package in the Custom Objects viewer.
  11. Click New and select Object.
  12. The ribbon has a section called Show. Ensure that Summary is selected and name the object ModelNodes.
  13. Click the Fields tab and check the system provided fields listed below:
    • Created Time
    • Created By Account
    • Updated Time
    • Updated By Account
    • Notes
  14. Click the Add New Field button and create a field called Node.
    This field can have any length, but it is recommended the length be 40 characters or greater to account for lengthy IoT device naming schemes.
  15. Select Node as the Object Lookup from the fields list.
  16. Click the Relationships tab on the ribbon.
  17. Click the Add button in the Parents of ModelNodes Object section.
  18. Create an Aggregation relationship to the Model object created in the previous step.
  19. To create a NodeSpecifications Object, select the AR package in the Custom Objects viewer.
  20. Click New and select Object.
  21. The ribbon has a section called Show. Ensure that Summary is selected and name the object NodeSpecifications.
  22. Click the Fields tab and check the system provided fields listed below:
    • Created Time
    • Created By Account
    • Updated Time
    • Updated By Account
    • Notes
  23. Two unique fields must be created, as well. Click the Add New Field button and create a field called Name.
    This field can have any length, but it is recommended the length be 40 characters or greater to account for lengthy IoT device naming schemes. Create an additional text field called Value and provide a length of 255.
  24. Select the Name field as the Object Lookup field in the fields list.
  25. Click the Relationships tab on the ribbon.
  26. Click the Add button in the Parents of NodeSpecification Object section.
  27. Create an Aggregation relationship to the NodeSpecifications object created in the previous step.
  28. To deploy custom objects, click the Save button on the ribbon.
  29. Click Deploy to make the changes to the database.
  30. Click Deploy Now and wait for the notification that the deployment is complete. Note: this can take some time.

Results

Once these steps are complete, Service Cloud should be configured for use with the AR demonstration. Be sure to note the host name for your Service Cloud environment, as this will be used to configure Oracle Integration Cloud (OIC) in a later step. If you are unsure of the hostname, use the Links menu in the application menu to open Customer Portal. Your site hostname will be visible in the URL that opens in your browser. For instance, https://airx.rightnowdemo.com.