Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1220

Help Needed: Data Displaying Only the First Record Multiple Times Using LiveData

$
0
0

Hello,
I’m encountering an issue while using the following code to display records stored as class objects from a Tag.TagHierarchyClass source:
{{liveData
id=“tagHierarchy”
properties=“name,parent,root,fullPath,level”
source=“liveTable”
sourceParameters=“className=Tag.TagHierarchyClass”
sort=“name:asc”
limit=“15”
}}
{{/liveData}}

However, when the data is displayed, it’s only showing the first record multiple times instead of displaying all the records correctly. I’ve attached screenshots for reference to show the issue in action.

TagHierarchy Class

Class Properties

  • name (name: String)
  • parent (parent: String)
  • root (root: String)
  • fullPath (fullPath: String)
  • level (level: Number)

What I’ve tried so far:

  • I’ve checked if the data source is being populated correctly.
  • I’ve tried adjusting the parameters, but the issue persists.
  • I’ve also looked at the sorting and limiting functions to make sure they are correctly applied.

What I need help with:

  • Can anyone point out why this is happening?
  • Are there any known issues or mistakes with how the liveData tag is implemented here?
  • Any advice on how to correctly display all records?

Thanks in advance for your help!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1220

Trending Articles