Siblings module allows navigating through a data set by displaying links to first, previous, next and last records.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:siblings /> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
CurrentKey | Any |
Trim
|
Sets or returns the key value of the current sibling. |
DisplayBack | String | - | Value for the Display field of the Back sibling. |
DisplayChild | String | - | Value for the Display field of the Child sibling. |
DisplayFields | Collection | - | Comma-separated list of fields that should be present in the data set because they are used in formatting. Only relevant when used for content items. Otherwise the dataset has to be passed and the user should include these fields himself. |
DisplayFirst | String | - | Value for the Display field of the First sibling. |
DisplayLast | String | - | Value for the Display field of the Last sibling. |
DisplayNext | String | - | Value for the Display field of the Next sibling. |
DisplayParent | String | - | Value for the Display field of the Parent sibling. |
Format | String |
RawData
|
Sets the formatting Xml. |
InputData | DataTable | - | Sets the dataset through which the siblings module will navigate. Using inputdata will not create Child links. Parent link can be created by including a level field. Level 1 is the parent, all siblings are level 0. Other values for level are ignored. |
KeyField | String |
Trim
|
Sets or returns the name of the key field in the data set. |
LevelField | String |
Trim
|
The level field is distinguishes between siblings (0) and parent (1) in the dataset. |
MaxRows | Integer | - | Sets a limit for the number of rows that the output may contain. |
MinimumAccessLevel | String | - | Sets the minimum access level for each item by name. The given level must be defined as an AccessTypeLevel. |
MinimumBrowseLevel | Integer | - | Sets the minimum access level for each item to be shown. Leave 0 to forgo security checks. |
Parent | Locator |
Signature
|
Sets the parent. |
RowDelimiter | String | - | Specifies the delimiter string that separates individual records. |
RowFormat | String |
RawData
|
Sets the formatting string. |
ShowHidden | Boolean | - | Sets a value indicating whether to show hidden items. |
SiblingOrder | String | - | Comma separated list determining the order in which siblings will be returned. Accepted names are "First", "Back" or "Previous", "Next", "Last", "Parent" or "Up" and "Child" or "Down". Child/Down creates a link to the first child of a content folder. |
SkipRows | Integer | - | Specifies which row will be the first row in the output. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ChildLevelResult | Gets the result of the child levels. | |
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.ColCount | Gets the number of columns in the datatable. | |
This.ColName | Gets the name of the current column. | |
This.ColNumber | Gets the number of the current column. | |
This.CurrentIndex | Returns the position of the current sibling in the collection of siblings. | |
This.Field | Gets the field value of the current column in the current row, when using colformat. | |
This.Field.Exists | Checks whether the given field exists. | |
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.Group | Gets the name of the current group. | |
This.GroupCount | Gets the total number of groups displayed. | |
This.GroupNumber | Gets the number of the current group. | |
This.GroupResult | Gets the result of the current group. | |
This.GroupRowNumber | Gets the number of the current row in the current group. | |
This.Level | Gets the current formatting level. | |
This.LevelResult | Gets the result of the current level. | |
This.LevelRowNumber | Gets the current row of the current level. | |
This.Location | Gets the location the current row points to, in a macro that can build URLs. | |
This.MaxRows | Gets a limit for the number of rows that the output may contain. | |
This.Name | Gets the title or name represented by the current row. | |
This.param | Gets the value of a parameter with the given index. Useful when using the viper:exec inside xslt formatting. | |
This.RawField | Gets the raw field value of the current column in the current row, when using colformat. | |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.RowCount | Gets the total number of rows in the datatable. | |
This.RowNumber | Gets the current row number. | |
This.RowResult | Gets the result of the current row. | |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.SiblingCount | Returns the total amount of siblings. | |
This.SiblingExists | Returns true if the sibling that is currently being formatted exists | |
This.SkipRows | Specifies which row will be the first row in the output. | |
This.Title | Gets the title represented by the current row. | |
This.VisibleRowCount | Gets the total number of rows displayed. | |
This.VisibleRowNumber | Gets the current visible row number. |