Ability to pass a user-defined variable to an Arcade expression

Idea created by deleted-user-H23pxZFaj1tR on Aug 12, 2019
    • Michael_Castro
    • m.dufour_smaag
    • Katherine.Campbell_ocfl
    • Sophie_Humphry
    • kbusby
    • xander_bakker
    • skiley
    • deleted-user-H23pxZFaj1tR
    • ZConlen@bellevuewa.gov_cobgis

    I'd like to be able to use filters on my related table results, based on their own attributes.  For instance, Sample Sites feature has Samples as a related 1:M table.  I want a user to filter for sample results of an arbitrary value and return those records from the related Samples table.  Basically, I want a global variable that is assigned outside the Arcade expression.