Renaming a Domain in DataHub through UI: Step-by-Step Guide

Original Slack Thread

This message was deleted.

Yes, you can rename a Domain in DataHub. This functionality was added in a recent update. According to the <https://github.com/datahub-project/datahub/pull/5266|GitHub pull request>, the ability to edit a Domain name from the UI has been implemented. This feature extends the existing framework for editing entity names and includes backend checks to update the correct aspect and frontend checks for privileges before showing the option to edit the name.

Would you like more details on how to perform this action step-by-step?

Sources:

<@U06TM7M40RK> Yes

<@U06TM7M40RK> How to rename Domain?

To rename a Domain in DataHub, you can follow these steps using the DataHub UI. This feature allows you to edit the name of a Domain directly from the UI, provided you have the necessary privileges.

Step-by-Step Guide to Rename a Domain

  1. Navigate to the Domains Page:

    • Open the DataHub UI.
    • Click on the “Domains” tab in the top-right menu to view all the Domains that have been created.
  2. Select the Domain to Rename:

    • Find the Domain you want to rename from the list.
    • Click on the Domain to go to its profile page.
  3. Edit the Domain Name:

    • On the Domain’s profile page, look for an option to edit the Domain name. This is typically found near the Domain’s current name or in a settings menu.
    • Click on the “Edit” or “Rename” button.
  4. Update the Domain Name:

    • Enter the new name for the Domain in the provided field.
    • Save the changes.
  5. Confirm the Changes:

    • Ensure that the new name is reflected correctly on the Domain’s profile page and in the list of Domains.

Example Using DataHub UI

Here is a visual representation of the steps:

  1. Navigate to Domains Page:

  2. Select the Domain:

  3. Edit the Domain Name:

  4. Update and Save:

Prerequisites

  • Manage Domains Privilege: Ensure you have the “Manage Domains” platform privilege to add or edit domains at the entity level. This can be granted by creating a new Metadata Policy.

Additional Resources

Would you like more detailed information on any specific step or aspect of this process?

Sources: