Versions Compared

Key

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

...

When information on a product is displayed, the name of its category is shown as well.

Product

Used to define a product in FEWS. The <product> element has two attributes

...

The <product> element has several sub elements which are explained below.

expiryTime

Mandatory element. The expiry time indicates how long product information should be stored and displayed by FEWS. For example, setting it to seven days as in the example above will result in each comment added to the product to be available and stored in the system for seven days. This expiry time is counted from the moment the product information is first created.

viewPermission

Optional element. This element should contain the id of the permission users need to have to be able to view this product's information. A user that does not have this permission will still be able to view the time series, but the forecast product information panel will act as if there is no product associated with the time series if the user does not have view permission for its associated product.

editPermission

Optional element. this element should contain the id of the permission users need to have to be able to edit and create product information for this product. A user that does not have this permission will still be able to view the product information added for the product by other users (provided they do have view permission). However, they will not be able to create, edit or delete product information on this product. 

timeSeriesFilter

It is mandatory to configure at least one <timeSeriesFilter> element, there can be several <timeSeriesFilter> element in the same <product> element. The <timeSeriesFilter> elements are used to configure which time series sets the product is associated with. For a time series to be associated with a product, its time series set must match at least one of the time series filters configured for that product.

...