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
- Using an
administrative account for Service Cloud, login to the Agent Console.
- Use the navigation
pane to open the Database section and
select Object Designer.
- To create a Model Object, select the AR package in the Custom Objects viewer.
- Click New and select Object.
- The ribbon
has a section called Show. Ensure that Summary is selected and name
the object Models.
- Click the
Fields tab and check the system provided fields listed below:
- Created Time
- Created By Account
- Updated Time
- Updated By Account
- Notes
- 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.
- Select Model as the Object Lookup from the fields
list.
- 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.
- To create a ModelNodes Object, select the AR package in the Custom Objects viewer.
- Click New and select Object.
- The ribbon
has a section called Show. Ensure that Summary is selected and name
the object ModelNodes.
- Click the
Fields tab and check the system provided fields listed below:
- Created Time
- Created By Account
- Updated Time
- Updated By Account
- Notes
- 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.
- Select Node as the Object Lookup from the fields
list.
- Click the Relationships tab on the ribbon.
- Click the Add button in the Parents of ModelNodes Object section.
- Create an Aggregation relationship to the Model object
created in the previous step.
- To create a NodeSpecifications Object,
select the AR package in the Custom
Objects viewer.
- Click New and select Object.
- The ribbon
has a section called Show. Ensure that Summary is selected and name
the object NodeSpecifications.
- Click the
Fields tab and check the system provided fields listed below:
- Created Time
- Created By Account
- Updated Time
- Updated By Account
- Notes
- 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.
- Select the Name field as the Object Lookup field in
the fields list.
- Click the Relationships tab on the ribbon.
- Click the Add button in the Parents of NodeSpecification Object section.
- Create an Aggregation relationship to the NodeSpecifications
object created in the previous step.
- To deploy custom objects, click the Save button on the ribbon.
- Click Deploy to make the changes to the database.
- 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
.