Skip to main content
Share / Export

Connect Vista

TEDI needs a Vista SQL Server connection for its catalog of Vista forms and fields and for playbook work. This page is for the person setting up TEDI. This is also the Vista connection TERA and every paired TUDS PC use, so you set it up once, here.

Where: Settings > Database (Vista) (in the Connections group)

Before: 2. Install TEDI and check the license · Next: 4. The Team Library


Before you start​

  • SQL Server name, with the port if it is not the default (for example XXXX-sql.viewpointdata.cloud,####)
  • Database name (usually Viewpoint)
  • A SQL login and password for TEDI: a new SQL account with default permissions. TEDI does not need db_owner. The only addition is access to the VPAttachments database, so attachments open. See Vista SQL Access Overview.
  • The TEDI PC can reach SQL Server. See Vista SQL Access Overview, and for cloud Vista, Cloud SQL Connectivity.

Add the connection​

  1. Open Settings > Database (Vista). With no connection yet you see No database connections configured.

  2. Click Add Connection.

  3. Fill in the form:

    FieldEnter
    NameA label, for example Primary Vista.
    ServerSQL Server name. If the port is not the default, enter it as name,port, for example sqlhost,1500.
    DatabaseThe Vista database. Defaults to Viewpoint.
    UsernameThe SQL login. TEDI signs in to Vista with a SQL login.
    PasswordThe SQL login password. After saving, the box shows Saved (leave blank to keep).
  4. Set the options:

    OptionWhen to use it
    Trust server certificateOn by default. Leave it on unless IT says otherwise. TEDI always encrypts the connection; this controls certificate checking.
    Default connectionCheck it. Paired TUDS PCs need a default connection in TEDI.
  5. Click Test Connection. You see Testing…, then Success: … or Failed: … with the SQL Server error.

  6. Click Save Connection. TEDI saves the connection and loads the Vista catalog from SQL Server. You see "Connection saved. Refreshed N catalog items, N forms, and N fields."

TEDI Settings Database tab with one connection filled in and the Save Connection, Test Connection, and Refresh catalog buttons


Confirm the catalog loaded​

The tab header shows Vista catalog loaded from SQL Server. and Last refreshed with a time.

Header messageWhat to do
Catalog not loaded. Save the Vista SQL Server connection to load it.Save the connection.
Catalog not loaded. Refresh the catalog from SQL Server.Click Refresh catalog.
Last refresh failed: …Fix the error (server name, firewall, login), then Refresh catalog.

If saving works but the catalog does not, you see Connection saved, but the catalog refresh failed: ….

Click Refresh catalog again after a Vista upgrade, or when a playbook cannot find a new form.


More than one connection​

You can add several connections with Add Connection, for example a test database. Only one is the Default connection; checking it on one clears it on the others. Use Delete to remove a saved connection (it asks Delete this database connection? first).


What uses this connection​

ProductHow
TEDICatalog, playbooks, chat lookups, and Vista-changing procedures.
TERARuns Crystal reports using TEDI's Vista connection.
TUDS (paired)Uses TEDI's connection and does not store its own. Each TUDS PC runs its read-only queries from its own PC, so it also needs a network route to SQL Server. Vista writes go through TEDI.

Common mistakes​

  • No default connection. Paired TUDS PCs report "TEDI is paired but has no default Vista SQL connection."
  • Using a login that cannot read Vista's metadata tables. The catalog refresh fails.

Next steps​