Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing the Database Tables

...

The SRP HTTP Framework ships with two database tables: CONTACTS and WEB_ACCOUNTS. These are typically provided as .LK/.OV files in a compressed file called WebAppData.zip. Also included in this compressed file is a sub-folder called ContactPictures. This includes several portrait images that correspond with the data in the CONTACTS table.

We recommend placing the uncompressed files into a separate folder, like WebAppData, directly underneath your OpenInsight folder. These tables are keyed to the GLOBAL database so they should be easy to attach using the Database Manager. Once they have been attached we also recommend saving the database so that the application will remember to attach these tables whenever it is launched.

The CONTACTS database table includes data that will be accessed by the sample Contacts web API that ships with the SRP HTTP Framework.

The WEB_ACCOUNTS table is used by the SRP HTTP Framework to authenticate API requests.

Once you are familiar with writing APIs and have other tables that are being accessed, you can remove the CONTACTS table from your environment. The WEB_ACCOUNTS table should be kept unless or until you employ an alternative form of authentication.