Share Base

Procedures to share a base & generating embedded iframe

Enable public access

To share a base, follow the steps below:

  1. Navigate to the top right corner and click on the Share button.
  2. In the Shared base section, toggle the Enable public access switch to activate public sharing.
  3. A shareable link will be generated. Click the Copy URL option to copy it.

Share base

Share base

Anyone with the shared base link has read-only access to the base data.

Copy Base

The Copy base feature lets someone with the shared link import a copy of the base into their own workspace. It is also a convenient way to use a base as a template for future bases. To copy a base:

  1. Open the shared base URL you wish to copy.
  2. Click the Copy base button in the top right corner of the toolbar.
  3. In the modal that appears, select the workspace to copy the base into.
  4. Choose whether to copy the base with or without data and views.
  5. Click Copy base to finish.

Copy base

Copy base

Modify Share base

Updating (regenerating) the shared base configuration will invalidate the previously generated link and generate a new one. To do this:

  1. Click the Share button in the top right corner.
  2. Toggle Enable public access off to disable sharing.
  3. Toggle it on again to reactivate sharing, which will generate a new link.

Enable public access

Disable Share base

To disable the shared link:

  1. Click the Share button in the top right corner.
  2. Toggle off the Enable public access option.

This will deactivate the current share link.

Enable public access

Custom URL

You can personalize the shared base URL by setting a custom identifier. The custom URL must be unique and should not contain special characters like /, ?, or #.

To set a custom URL:

  1. Toggle the Custom URL option.
  2. Enter a custom value in the input field. If the custom URL entered is already in use, you will be prompted to choose a different one.
  3. Click Save to apply the changes.

Custom URL

The custom URL is case-sensitive
Creating or updating a custom URL will not invalidate the previously generated shared base link. Both the default and custom URLs will remain active unless public access is disabled.

Embeddable Frame

You can embed the shared base into another application using an HTML IFRAME.

To generate an embeddable iframe code:

  1. Click the Share button in the top right corner.
  2. In the Shared base section, click <> to copy the Embeddable IFrame code.

Share base iFrame

Example:

<iframe
    class="nc-embed"
    src="https://app.nocodb.com/#/nc/base/e3bba9df-4fc1-4d11-b7ce-41c4a3ad6810?embed"
    width="100%"
    height="700"
    style="background: transparent; border: 1px solid #ddd"
>
</iframe>

Here’s an example of a complete HTML document embedding the base:

<!DOCTYPE html>
<html>
<head>
    <title>Sample iFrame Example</title>
</head>
<body style="height:100vh; margin:0">
<iframe src="http://app.nocodb.com/#/base/035c5207-501a-48b8-8dbe-67742b78323e" width="100%" height="100%" style="border: none;"></iframe>
</body>
</html>