function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Diane RoyerDiane Royer 

Reference FromAssembly field value in SOQL query for Dynamic Picklist

Is there a way to reference a FormAssembly field value in a SOQL query for a Dynamic Picklist?  I'm trying to set up a Dynamic Picklist in FormAssembly that will show Contact records related to an Account ID.  The Account ID is populated on the form by a prefill connector.  Is there a way to get that ID in the SOQL query so that the Dynamic Picklist will be filtered to just show that Account ID?
Best Answer chosen by Diane Royer
Diane RoyerDiane Royer
I figured out the solution to this issue.  You just need to enclose the variable (field number) in single quotes -- '%%tfa_##%%'