Skip to main content

Add custom resource types

Why would I add custom resources?

One of the primary ways of organizing data in data.world is by resource types such as tables, datasets, and projects. If there is a specific type of resource not included with data.world that you would like to use, then you can create a custom resource type.

Planning your custom resources

  1. Plan the list of custom resources you need for your organization.

  2. Define the type of custom resources.

  3. Specify the custom resources users can create from the UI.

    add_custom_resources.png

Add a custom resource

  1. On the Organization profile page, go to the Overview tab or Resources tab. Click the New resource button and select Other resources.

  2. In the Add new resource window, set the following and click Continue.

    • In the Title field, provide a name of the relationship you want to add. For example, let us add a type called Bank account.

    • From the Choose type section, select the Type option.

    • From the Choose one or more collections dropdown, select the Metadata profile collection.

  3. In the Edit resource window, set the following properties and click the Save button.

    • Plural: Provide a plural for the field name. For example, Bank accounts.

    • Ability to create in the UI: Set this to Allow UI creation if you want users to be able to create these type of resources from the UI.

      add_custom_resource02.gif

Publish the changes

View the results

  1. In the Sandbox Organization, on the Organization profile page, go to the Overview tab.

  2. Click the New resource button and select Other resources.

  3. In the Add new resource window, you will notice that the new custom resource is available.

    add_custom_resource01.gif

Enhance the custom resource page

  • Go back to the Catalog configuration organization and add the custom field Steward to the Bank accounts custom resource. Publish the changes to the Sandbox organization and see the enhanced custom resources page.