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

How to filter liveData table with a foreign key

$
0
0

Hi XWiki community,

Hi am trying to filter a Live Table of in a Sheet of an AWM.
In fact, I have 2 AWM:

  1. Domaines: list of domains (fields include: id_domain, responsible…)
  2. Logiciels: every entry is related to a single Domaine by the foreign key domain

My working Live Table (without filter) is called with:

{{liveData
  id="logiciels"
  properties="doc.title,domain"
  source="liveTable"
  sourceParameters="className=Logiciels.Code.LogicielsClass&translationPrefix=platform.index."
/}}

The generated table:

How to filter on the domain field?

I tried to use the filters parameter:

{{liveData
  id="logiciels"
  properties="doc.title,domain"
  source="liveTable"
  sourceParameters="className=Logiciels.Code.LogicielsClass&translationPrefix=platform.index."
  filters="domain=Navigation"
/}}

But it does not match the class instance but instead it adds a string (looks like a duplicate):
image

Thank you in advance!

Regards,
Luc

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1219

Trending Articles