I’m building a page for a customer portal that displays cases which are linked to a user record. The cases are linked through different object paths (user > person cases, user > person > current tenancy > cases and user > person > current property > cases) and I have had to add multiple tables to the page to display each group of pages (one table for each relationship path)
I want to add filters to my page so that the user can find the case they need but I don’t want to do this by having 3 filter widgets. I don’t believe there is a way to combine the data into one table but is there a way to set up a search widget that will search for the data down each path?
Have you tried having the search widget based directly on the case object? I’m not certain but it may search all the fields for you (presuming that the list widgets ultimate base object is the case one).
I thought about that but I’m reluctant to put an widget on the portal where the base object is independent from the page
Why don’t you have your list table based on the case object [as opposed to the user] and then use the additional filters option in build studio for the list to add a custom (CS based component) filter to do the filtering along the various paths you have to the user. You can get the logged in user in the filter component and use that when constructing your filters list.
That should output all the cases for the user along the various paths you have.
Other than the way you have already noted - don’t think you have many other options.
Its essentially a Record Search Filter object in Code Studio