Retrieve Data from a repeating-data table on the same (or better, on a sub) page

  • 1
  • Question
  • Updated 3 years ago
I have a {repeating-data} table which is filled with a lot of information in {text-data} fields. I want to retrieve some data from this table on the same (or better, on a different) page.
{report-table} with a {local-reporter} produces an empty table, can somebody help me?
Photo of Florian Windolf

Florian Windolf

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Ethan Foulkes

Ethan Foulkes

  • 310 Posts
  • 41 Reply Likes
Assuming your local reporter is properly pointing to the location and the repeating-data...

Then below local reporter you need a report-column and inside the report column you need a report:info set to data:textdatafieldname

Sounds like you are using repeating-data for a table. You might want to use table-data instead.
Photo of Florian Windolf

Florian Windolf

  • 2 Posts
  • 0 Reply Likes
My table is like this (simplified):

{repeating-data:name=project}
{text-data:name=pname}
{repeating-data}

{report-table:maxResults=10}{expanding-reporter:page=pagename|as=Name}
{local-reporter:data:project.pname}
{expanding-reporter}

{report-column:title=Name}
{report-info:data:project.pname}
{report-column}
{report-empty}This is displayed if no results are returned by the reporter.{report-empty}
{report-table}

Ist this the right way to go?

In the repeating data table there is data n times in the same format (but not just rows/colums), so no. I guess repeating data should be suitable.