I’ve found a number of postings on using @Transform, but for whatever reason I can’t get this function to work for me. This is what I have:
ConfigKeys := @DbColumn( “”:“NoCache”; “”:“”; “Config”; 1 );
AttributeKeys := @Transform( ConfigKeys; x; @If( @Begins( x; “Attribute-” ); x; @Nothing ) );
AttributeKeys
ConfigKeys will return at text list containing values like:
“Attribute-Support”
“Attribute-Tasks”
“SalesTax”
What I want is to strip out any values that don’t begin with “Attribute-”.
This should be simple, and yet here I am 45 minutes later still trying to figure out why it’s not working. Everything is getting stripped out, so it appears the formula in the @transform is not behaving how I would expect.
Thanks in advance,
Jon