SilkBuilder
  • SilkBuilder
  • Development Environment
    • Development Environment
    • System Elements
    • Project, Data Model and ORM
    • Development Formats
  • Silk Builder Training
    • Sample Database
    • Plain Application
    • Easy Application
    • Simple Application
    • Complex Application
    • Report Application
    • System Environment
  • Docs
    • The ORM Structure
    • SilkBuilder
    • Silk Service
    • Java Database Class
    • Report
  • Silk Tags
    • App
    • AppHeader
    • Button
    • ButtonItem
    • Chart
    • Column
    • Content
    • DataProvider
    • DataService
    • Form
    • Group
    • Header
    • HelpBox
    • If
    • Input
    • JQcode
    • JScode
    • LogicAction
    • LogicDimension
    • LogicGrid
    • Modal
    • ModalBody
    • ModalFooter
    • Module
    • Page
    • Pagination
    • Screen
    • ScreenFooter
    • ScreenHeader
    • Tab
    • TabItem
    • Table
    • TableBody
    • TableHeader
    • TabsNav
    • Tile
  • JavaScript Objects
    • Button
    • ChartJS
    • Column
    • DataProvider
    • EventManager
    • Form
    • Input
    • Modal
    • Pagination
    • SilkPage
    • Table
    • TabsNav
    • Tile
    • Utility Functions
  • Coding Techniques
    • Data Trees
    • Pagination
    • Mark Deleted
    • Record Sync
    • Filtering Code
    • Content Template
    • Sort Data Columns
    • Form Input File
    • Button with Confirmation
    • Toggle List
    • Table Inputs
Powered by GitBook
On this page
  • Tag Definition
  • Properties
  • servicePath
  • selectName
  • renderIf
  1. Silk Tags

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

PreviousDataProviderNextForm

Last updated 1 day ago

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

Server Code Logic