Updating default.json and default-schema.json to point to your server

When you first install Latitude Studio, all components that require a backing data source are bound to a data source called default.json.

The endeca-portal\data\endeca-data-sources directory contains the default.json file.

Before you can start working with components in Latitude Studio, you must either:
  • Update this file to point to the correct server and port.
  • From the Framework Settings component, select a different data source to use as the default.

The endeca-portal\data\endeca-data-sources directory also contains a default-schema.json file. It points to the same server and port as the default version of default.json, but is set up to only display configuration records.

You should also update default-schema.json to point to the correct server and port.

To update the default.json and default-schema.json files:

  1. In the endeca-portal\data\endeca-data-sources directory, open default.json in a text editor.
  2. In the file, edit the server and port lines to reflect your server. For example:
    {
       "server":"localhost",
       "port":"5555"
    }
  3. Save the file.
  4. Open default-schema.json in a text editor.
  5. In the file, edit the server and port lines to reflect your server.

    Make sure you do not edit or remove the mdexRecords parameter.

After you have updated the default.json and default-schema.json files, you can log in to Latitude Studio and begin adding components to your application.

For details on viewing configuration settings for data sources, see the Latitude Studio User's Guide.