Hi. Is it possible to create a filter in an application builder table from a linked database table?
I have a table for users and a table for cases. I want to let application users filter cases based on the connected user for those cases in a application builder table, but the filter field seem to be inactive and unavailable:
Ok, thank you for the quick reply! Any workarounds for this? I tried to add a formula and a lookup field to duplicate the value to another field type but that didnāt work.
I asked our specialist, @frederikdc about this, and he suggested that you create a rollup or formula field that converts the primary field (the first one on the left in your āBehandlerā table) to a single text field. You can then allow logged-in users to filter upon that single text field from the application builder.
Thanks for the suggestion. I couldnāt figure this out using a rollup or formula field, but I added automation using webhook and Make to duplicate the value from the link to table-field to a single select-field which Iām able to filter on in the application builder.
Sorry to hijack this thread, but I thought it might be better than starting a new one as I think Iām having the same issue, and I must be doing something wrong when trying to follow your adviceā¦
I have 2 linked tables: Policies and Customers
I have created a rollup field in āPoliciesā with the function āmaxā to look up the CustomerID form the Customers table
In the App Builder, when I create a table using āPoliciesā as my data source, I cannot filter by CustomerID
So I created a formula field which is basically totext(field('Customer ID')). But I still canāt filter by that in the App Builder.
The totext function is still actually going to return an object rather than a string that you are expecting. Could you test the formula `join(field(āCustomer IDā),ā,ā) to see if this works as youād expect?
join(field('Customer ID'),',') failed with error: āError with formula: argument number 1 given to function join was of type number but the only usable type for this argument is a list of text values obtained from a lookup.ā
join(totext(field('Customer ID')),',') also failed with error: āError with formula: argument number 1 given to function join was of type text but the only usable type for this argument is a list of text values obtained from a lookup.ā
So I tried creating a lookup field called cust-id insread of using a roll-up as my souce field. So my formula was now join(totext(field('cust-id')),','). This actually worked, but I still canāt filter by that field:
Hi @spook ,
I tried it myself and for the first moment it looks like if I have the same problem: within the backend of the Application builder the checkboxes for Customer-ID canāt be activated (more precise: they donāt react to a mouse click)
BUT: At the moment I wanted to give up I noticed that nevertheless a new FILTER-Button has appeared left top of the table. I switched to āpreviewā-mode and found that the filter worked as expected.
See also Screenshot.
Is it a table within the Application Builder that you would like to add a filter? Have you checked if you can filter for the customer-ID ALTHOUGH you canāt click the check-box (more precise: it looks like if you canāt click)
Thanks for your reply @be_Berlin. I checked and unfortunately, that isnāt the case for me. I can filter by other fields, and the āFilterā button appears, but I still canāt filter by the Customer ID. In fact, if I hover over the toggle to filter it, it says āUnavailableā.
Since the launch of the application builder external user sorting/filtering feature, the following fields have not been supported for filtering:
Link to table
Created by
Modified by
Collaborators
In a repeat, or table element, if you wish to applying filtering on those fields, you will see an āUnavailableā label appear ontop of a disabled checkbox.
This is because we have some technical limitations in the application builder that prevent those field types from working correctly, they will require more development to be fully supported.
Itās also worth remembering that if you construct a formula, where the resulting field type becomes one of those 4 fields, you will still be unable to filter upon it.
So I tried creating a lookup field called cust-id insread of using a roll-up as my souce field. So my formula was now join(totext(field('cust-id')),',') . This actually worked, but I still canāt filter by that field:
That formula must resolve into one of those 4 fields, which means youāre unable to filter upon it, thatās why the checkbox is disabled.
Hopefully at some point we will be able to dedicate some resources to this problem and fully flesh out external user filtering for all fields, but in the meantime we have to leave this āUnavailableā label in place, please accept my apologies for the inconvenience!