After you create custom objects, you might need to modify them to meet your needs as things change within your organization. There are a variety of reasons why you might want to modify an existing custom object. Adding new fields to a custom object and managing agent access to an object's records are things you might do during initial object creation or at a later time, so they're covered elsewhere.
Viewing a custom object's records
As an admin, you likely spend most of your time interacting with the custom objects themselves rather than the records. However, occasionally, you might need to check on an object's records.
- In Admin Center, click Objects and rules in the sidebar, then select Custom objects > Objects.
- Click the name of the custom object for which you want to view records.
- Click Actions and select View records.
This opens the Records page in Support in a new tab, with the custom object already selected.
Editing a custom object's fields
Every custom object is defined with standard fields, which have limited editing options and can't be deleted. Additional fields are added to an object to capture the data unique to that object. These are called custom fields. When editing an object's fields, you must refresh your page to see your changes. Modifications to custom objects are recorded in the audit log.
Editing an object's standard fields
When you create a custom object, two standard fields are automatically defined within the object: Name and External ID. Even though these are predefined and required fields for all objects, you can edit the name and description displayed on the Record page in Support so that it's easier for agents to use them as you intend. The External ID field is only visible to Admins. You can't edit the field's type or key values.
- In Admin Center, click Objects and rules in the sidebar, then select Custom objects > Objects.
- Click the name of the custom object for which you want to edit the custom fields.
- Click the Fields tab, and then click the name of the standard field—Name or External ID.
- On the field detail page, adjust the Display name and Description as needed.
- Click Save.
Editing an object's custom fields
An object's fields define the properties or schema of the custom object and will be used by agents when they create records. The list of fields is ordered alphabetically by name. You can't edit the field's type or key values; depending on the field type, other options might also be uneditable.
- In Admin Center, click Objects and rules in the sidebar, then select Custom objects > Objects.
- Click the name of the custom object for which you want to edit the custom fields.
- Click the Fields tab, and then click the name of the field you want to edit.
- On the field detail page, adjust the values as needed.
- Click Save.
Editing the order of an object's fields
The order in which fields appear in the fields list is how they'll appear for agents when they interact with the object's records. The object's standard Name field is always at the top, but you can edit the order of all other fields on a custom object.
- In Admin Center, click Objects and rules in the sidebar, then select Custom objects > Objects.
- Click the name of the custom object for which you want to edit the custom fields.
- Click the Fields tab, and then click Edit order.
- Drag and drop the fields into the order you want them displayed to agents in the record preview panel.
- Click Save.
Deleting a custom object's fields
- In Admin Center, click Objects and rules in the sidebar, then select Custom objects > Objects.
- Click the name of the custom object for which you want to delete a custom field.
- Click the Fields tab, and then click the name of the field you want to delete.
- On the field detail page, click Actions and select Delete.
- In the confirmation dialog, click Delete.
Deleting a custom object
- Before deleting your object, you need to remove the object from any lookup relationship fields that reference it. If you attempt to delete an object that's still used in lookup fields, you'll see an error message that includes a list of affected lookup fields.
- In Admin Center, click Objects and rules in the sidebar, then select Custom objects > Objects.
- Click the name of the custom object you want to delete.
- Click Actions and select Delete object.
- In the confirmation dialog, check each box to acknowledge the consequences of deleting the object, then click Delete object.