Editing a model's details

From OdataLink
Revision as of 17:03, 3 February 2022 by Nic (talk | contribs)
Jump to navigation Jump to search

By editing a model's details, you will be able to configure it's Name and Model Code.


Steps

To edit's a model's details, follow these steps.

  1. Click on Models on the menu in the left-hand side;
  2. Find the model you want to work on and click View;
  3. Click on the Edit Model button;
  4. Enter the Model Name;
    This is the display name of the model and is only used within the OdataLink website.
  5. Enter the Model Code;
    The secret code which will form part of the OData feed url. It must be unique for your account. Changing it will break any OData feed url in use. This may be useful if concerned that an OData feed url has been compromised or sent to the wrong individual. If you decide to change it, note that it must be at most 20 characters long. Only letters, numbers dashes and spaces are allowed.
  6. Choose the Login Type required to access the data.
    Basic login will require the username and password of a user when accessing data.
    Anonymous will not require any credentials when accessing data.
  7. Choose the Archive Type.
    Live optimises the model to retrieve live data.
    Developer optimises the model when developing to not connect with your data file as often.
    Static makes the model only return cached data without connecting to your data file.
  8. Enter a Default Start Date and End Date to control how much data is retrieved.
    These dates will apply when no date filters are applied via the OData client.
  9. Tick/untick the Enabled checkbox;
    Controls whether all OData feed urls for this model are usable.
  10. Click Save.


Notes

The Data File Type cannot be changed once a model has been created.


Related Topic

Configuring models