Custom objects

Removing custom objects and data domains

Data domains and custom objects can now be removed from your Network instance. For example, if a domain or an object was mistakenly created, or the wrong object was selected as the owner or related object in a relationship object, it can be removed.

Note: After a domain or an object is deleted, the action cannot be reversed.

Supported objects

All custom data model entities can be deleted: data domains, main objects, sub-objects, and relationship objects.

Data domains can be removed if it does not contain objects.

Objects can be removed in the following conditions:

  • No record exists in Network for the object. The object was created and enabled, but data has not been loaded.
  • There are no tasks created for the object.

The remove option is dimmed if any of these requirements are not met.

Remove a custom object

To remove an object:

  1. In the Admin console, click Data Model > Data Domains.
  2. Open the data domain and select the custom object.
  3. At the top of the object configuration page, click the Delete Object link.

    The page scrolls to the section.

  4. Click Delete Object.

    The Impact Summary displays.

  5. Review the associated data model objects that will be removed and the updates to features where the object has been added.

    For example, any data validation rules, dynamic access control rules, and profile layouts created for the object will be removed or updated, depending on the object type being removed.

  6. In the confirmation dialog, click Delete Object to begin the delete process.
  7. When the object is deleted, the data domain page displays. The object is removed from the domain.

Remove associated objects

When you delete a custom object, Network will check for and delete any data model entities that were created for the object.

The following data model objects will also be removed:

  • System fields created for the object.
  • Custom fields created for that object.
  • Reference types that are not being used by other fields.
  • Dependent sub-objects and relationship objects

    If the main object is deleted, the relationship object is also deleted if no owner/related object pair remains.

    Example

    If a relationship object connects HCPs and Study custom objects and the Study object is deleted, the relationship object will also be deleted. However, if the HCP is the owner object and there are two related objects, Study and Patient, if the Study object is deleted an owner/related object pair (HCP and Patient) still remains. In this case, the relationship object will not be deleted.

Note: Network expressions (NEX rules) will not be removed, but they will not function.

Remove a data domain

A data domain can be deleted if it does not contain objects.

  • On the domain configuration page, click Delete Domain. In the pop-up, confirm the deletion.

When the domain is deleted, the Data Domains page opens.

If you deleted a domain created with the Payer Master or Product Master template, you can create a domain with that template again.