Skip to main content
marcinw1932
November 18, 2022
Solved

How to create user filters for a read-only grid with expression variable as data source

  • November 18, 2022
  • 3 replies
  • 1 view

Hello all!

I am creating a portal for Appian Europe Live Build Challenge 2022. In this task among others I am showing on my interface a read-only grid with scheduled World Cup matches. 

Since I need to use Appian Portal, I cannot use record type and my data source for the read-only grid component is a (local) variable that contains list of Dictionary data I got from previously created API and Integration.

The question is: How to create user filters that allow to dynamically filter rows in a read-only grid component?  In my case, a user would enter my Portal website and filter matches by coutry or group.

Thanks in advance!

Marcin

    Best answer by stefanhelzle0001

    Filtering should be implemented in the data source. Never load all data and then try to filter in memory. Add some parameters to your API and forward them to your queryRecordType.

    3 replies

    stefanhelzle0001
    Brainy
    November 18, 2022

    Filtering should be implemented in the data source. Never load all data and then try to filter in memory. Add some parameters to your API and forward them to your queryRecordType.

    marcinw1932
    November 30, 2022

    Thank you Stefan, I created dropdown inputs that selected values are saved to local variables and forward to integration as rule input parameters used in request body posted to my API and there used as filter parameters in my queryRecordType. It works

    stefanhelzle0001
    Brainy
    November 30, 2022

    Great to hear that :-)