Editing a model's details

Revision as of 02:18, 31 October 2022 by Jeff (talk | contribs)

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 for developing by only refreshing every 8 hours and returning cached data if a call is made within that time. The benefit of this Archive type is is makes refreshes faster but the downside is your not always seeting the latest data
    Static makes the model only return cached data without connecting to your data file. Use this option if you have many years of data. Store the history in a static table and append with live data for the current year.
  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 Firewall Enabled checkbox;
    Controls whether the Firewall is active and protecting your data via a list of authorised IP Addresses.
  10. Tick/untick the Enabled checkbox;
    Controls whether all OData feed urls for this model are usable.
  11. Click Save.


Notes

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


Related Topic

Configuring models