Prolemi con il componente commenti

Hello everyone!
I’m trying to integrate the comments component into a small CRM that I’m making.
I’ve tried several avenues but I can’t filter comments linked to the single line.
Unfortunately in every record I always see all the comments.
I didn’t understand where I’m wrong.
Has anyone come across this problem yet?
How did you solve it?
Thanks in advance to anyone who can help me.

Hi paolo, does each comment represent a unique row in in your database? Could you please share a screenshot of your component configuration and your glide table?

Ciao Paolo, dai filtri dovresti avere la possibilità di filtrare i commenti. Ti allego un esempio filtro in cui visualizzo solo i commenti dell’autore.

Screen 1 Screenshot by Lightshot
Screen 2 Screenshot by Lightshot

I inserted the screens of the comments table and the answers table

Hi Antonino, Author, don’t give it as an option, I’ll give you the screens

Screen 1 Screenshot by Lightshot
Screen 2 Screenshot by Lightshot

I inserted the screens of the comments table and the answers table

You have two options.

  • Create a relation linking your request table to comments table, and source the collection from that relation.
  • Or, click on the options tab and set your filter for the comments collection.
1 Like

I tried several direct and inverse relationships, I put the relationship into the source, I created option filters but nothing, I tried different solutions for about hours at a time…

It would be useful to see screenshots of what you have tried to better understand what’s not working.

For the relation option, the relation would be located in the requests table and should find matches that link the request ID to the same request ID in the comments table.

Likewise, if you go with a filter option instead, you should be filteringbthe comments where the request ID in the comments table matches the screen value request ID from the current request you are viewing.

1 Like

Grazie sono riuscito a risolvere con l’incrocio delle relazioni ed il filtro che cercava gli stessi valori.
Mi sono fatto aiutare un po’ da claude