The ERD viewer is a read-only web screen used with NeoSQLEnterprise. Your company's NeoSQL server provides it, and you view ERDs published from the desktop app in a browser. People who have not installed the desktop app can view them too, with a viewer account the administrator creates. NeoSQLEnterprise is explained in 'NeoSQLEnterprise differences' of Web and desktop.
You publish an ERD from an account project in the desktop app, signed in. You view published ERDs in a browser.
What's on the screen
The ERD viewer has a sign-in screen, a list screen and an ERD screen. After you sign in, the right side of the top bar shows the name of the signed-in account, the language button (KR, EN) and the Sign out button.
| Screen | Contents |
|---|---|
| Sign-in screen | Under the ERD Viewer title are the User ID field, the Password field and the Sign In button. For an account that needs a new password or two-factor authentication, that step appears in the same place. The language button is at the top right. |
| List screen | Under the Published ERDs title are the Project field, the Search by title or description field, the number of published copies and their cards. |
| ERD screen | The top bar has the Back to list button, the DBMS icon, the published title and the project name. Below are the table list panel and the read-only ERD. |
Visibility
Only published copies appear in the ERD viewer. A published copy is a copy of the ERD at the moment it was published or updated. The project a published copy belongs to decides who can view it.
| Account | Published copies it can view |
|---|---|
| Project member | Published copies of the account projects you are a member of, including copies other members published from personal ERDs. |
| Viewer account | Published copies of the projects the administrator assigned to that viewer account. A viewer account assigned to all projects can view the published copies of every project. |
- A viewer account signs in only to the ERD viewer, and the administrator creates it. You cannot sign in to the desktop app with a viewer account.
- When you are removed from a project's members, or the administrator unassigns a project from your viewer account, you can no longer view that project's published copies from your next action.
- If there is no project you can view, the list screen shows the No projects are available to you. Ask your administrator to assign projects you can view. message.
Signing in to the ERD viewer
You sign in to the ERD viewer with an ID and password. A viewer account signs in for the first time with the ID and temporary password the administrator gave you. Project members use the ID and password they sign in to the desktop app with.
- Open the ERD viewer address the administrator gave you in a browser. The address is the server address entered in the desktop app followed by
/viewer(for example,https://neosql.example.com/viewer). - Enter your ID or email in the User ID field, and your password in the Password field.
- Click the Sign In button. The list screen opens. If you opened the address of an ERD screen, that ERD screen opens.
- After several wrong passwords or codes, sign-in is locked. For project members, wrong attempts in the desktop app and in the ERD viewer are counted together.
- Members who sign in only with a company account and have no password cannot sign in to the ERD viewer yet. Contact your administrator.
When you need to set a new password
If you signed in with a temporary password from the administrator, or your password has expired, the Set a new password step appears.
- Enter the new password in the New Password and Confirm New Password fields.
- Click the Change password and sign in button. For an account that uses two-factor authentication, the two-factor authentication step follows.
- The administrator decides the password rules. If the new password breaks a rule, the rule it breaks is shown.
- For a project member, the new password set here is also the desktop app password.
Two-factor authentication
For an account with two-factor authentication, the Two-factor authentication step appears after the password. Enter the 6-digit code shown in your authenticator app, or a recovery code, in the Authentication code or recovery code field and click the Confirm button.
- If the administrator requires two-factor authentication and your account has not set it up yet, the Set up two-factor authentication step appears. Add the QR code or key to your authenticator app, and enter the app's code in the 6-digit code from your authenticator app field.
- When setup is done, the Recovery codes list appears. Recovery codes are not shown again, so write them down somewhere safe and then click the I wrote them down button.
- An account that uses a passkey for two-factor authentication enters a recovery code in the ERD viewer. The This account uses a passkey for two-factor authentication. Passkeys cannot be used in the ERD viewer yet. Enter a recovery code if you have one, or contact your administrator. message appears.
- To sign in again from the start, click the Back to Sign In link.
Finding published ERDs
The list screen shows the published copies you can view, 20 at a time, most recently updated first.
- Choose a project in the Project field. The number next to a project name is that project's number of published copies. The All projects item shows the published copies of all projects you can view.
- Type in the Search by title or description field. Only published copies whose title or description contains the text remain.
- Click a card. The ERD screen opens.
Each card shows:
- The published title and the DBMS icon
- The type of the source ERD (the Personal ERD or Team ERD label)
- The description, project name, number of tables, the person who published it and when it was last updated
The chosen project, search text and page are kept in the address. Click the Back to list button on the ERD screen, or go back in the browser, to return to the same list.
Viewing an ERD
The ERD screen is the same read-only screen as the embed viewer of the gallery on the website. You cannot edit the ERD, and it does not connect to a database.
- In the Tables tab of the left panel, click a table to move the view to it.
- Choose which column details to show with the Column display button or the panel's Config tab. These settings apply only to that screen and are not saved to the published copy.
- The View DDL button opens the Table DDL dialog with the tables' DDL.
- The Fullscreen button, the zoom controls, the Mini-map, and the phone and tablet controls work as in the embed viewer. They are explained in 'Embedding in another page' of Gallery and embedding.
- If a published copy has no table details, the This published copy has no table details. They appear once the author updates the published copy. notice appears at the top.
- If you open a published copy that was unpublished or is no longer in your scope, the ERD not found. It may have been unpublished, or your access may have changed. message appears.
- You can send the address of an ERD screen to someone else. It opens only when they sign in with an account that can view that published copy.
Publishing from the desktop app
In the NeoSQLEnterprise desktop app, the More menu of the info panel shows the Publish to ERD Viewer... item instead of the gallery publish item. You can publish both personal and team ERDs.
- Save the ERD. The layout, notes and groups are taken from the last saved ERD.
- Open the More menu in the info panel and click Publish to ERD Viewer....
- In the Publish to ERD Viewer dialog, check the Members of this project and the viewer accounts an administrator assigned to it can see it. notice at the top.
- Fill in the Title and Description fields. The title starts with the ERD name. The description can be left empty.
- Click the Publish button. The Published to the ERD viewer. notification appears.
- In the info panel, the Type row of a published ERD shows the Published to viewer label. In the ERD and SQL list, the row of that ERD shows an eye icon.
- The published copy holds the layout, notes and groups of the last saved ERD, and the current design of the tables in the ERD, including changes not yet applied to the database. It does not include row data from the database.
- A published copy has no cover or tags. Its DBMS is set automatically from the connection the ERD is attached to.
- An ERD with no tables cannot be published. The An empty ERD with no tables cannot be shared. message is shown.
- An ERD with unsaved changes cannot be published or updated. When the This ERD has unsaved changes. Save the ERD and try again. message is shown, save the ERD and try again.
Who can publish depends on the type of ERD.
| ERD | People who can publish, update and unpublish |
|---|---|
| Personal ERD | The person who created the ERD |
| Team ERD | Members with the Owner role, and members whose role has the All Permissions or Share Permission item selected |
- Members without permission to publish a team ERD do not see the publish items in the menu. A published team ERD shows the Open in Viewer item regardless of permissions.
- When another member publishes or unpublishes a team ERD, the change appears when you open the More menu.
Updating and unpublishing
For a published ERD, the More menu shows the items below instead of the publish item.
| Menu | Description |
|---|---|
| Update Published Copy... | Opens the Update Published Copy dialog, filled with the current title and description of the published copy. The Update button overwrites the published copy with the last saved ERD and the current table design. |
| Unpublish... | After confirmation, removes the published copy from the ERD viewer. The ERD itself stays. |
| Open in Viewer | Opens that published copy in the ERD viewer, in the browser of this device. Sign in separately in the browser. |
- The published copy does not update by itself. It stays the same even when teammates change and save the team ERD.
- Deleting a team ERD also deletes its published copy in the ERD viewer. Deleting a personal ERD deletes its published copy too. The confirmation dialog tells you so when you delete it.
- Deleting a project also deletes all of its published copies. The confirmation dialog shows how many published copies will be deleted.
- Deleting a connection also deletes the published copies of the ERDs made with that connection. The table in the confirmation dialog shows them as the ERD viewer published copy item with their number.
Staying signed in and signing out
- Sign-in lasts 8 hours. After that, the sign-in screen appears at your next action, and signing in again takes you back to the screen you were on.
- When your password changes, or the administrator ends the account's sign-ins or disables the account, the sign-in screen appears at your next action.
- When a project member signs in to the ERD viewer, the desktop app stays signed in.
- Choose Korean or English as the screen language with the language button. It follows the browser language at first, and your choice is saved in the browser.
- Click the Sign out button to sign out and return to the sign-in screen.
When you forget your password
- With a viewer account, ask the administrator for a temporary password. After signing in with it, you set a new password.
- A project member's password is the same as the password for signing in to the desktop app. If you can reset your password from the desktop app's sign-in screen, do it there. Otherwise, ask the administrator for a temporary password.
Things to keep in mind
- Once published, even a personal ERD can be viewed by all members of the project and by the viewer accounts assigned to it. Before publishing, check that table names, column names, comments and notes contain nothing that must not be shown to them.
- The published copy does not update by itself. To show your changes in the ERD viewer, save the ERD and update it with Update Published Copy....
- The ERD viewer does not connect to databases and shows only published copies. If the database changed after publishing, the copy may differ from the real database, so check the real structure in the desktop app.
- Deleting a published ERD also deletes its published copy in the ERD viewer.
- On a device shared with other people, sign out with the Sign out button when you are done.
Related screens
- Info panel: where the More menu is.
- Gallery and embedding: publishing to the gallery in the NeoSQL app, and the controls of the embed viewer the ERD screen shares.
- Collaboration and permissions: project members and roles, and the difference between personal and team ERDs.
- Web and desktop: the differences in NeoSQLEnterprise.