DataService

The silk:DataService is an optional element of a Data Provider that allows different Data Outlets to be set depending on the logical criteria set in the renderIf property. The logic should ensure that only one silk:DataServie is active.

Operates standalone.

Tag Definition

Used standalone:

<silk:DataService
  servicePath=""
  selectName=""
  renderIf=""
/>

Properties

servicePath

Sets the path to the outlet service providing access to the data. If the value is "silkVariable" it will load the flag variables as a JSON string. The selectName should indicate the variable group. If the value is silkLang" it will load the languages list as a JSON string. Default Value: Empty.

selectName

The name of the Select tag in the ORM file. Default Value: Empty.

renderIf

It contains the logic sentence defining whether the component should be rendered. The logic statement's explanation is in the Server Code Logic documentation. Default Value: Empty.

Last updated