AnsweredAssumed Answered

How can I capture the contents of a ValueList?

Question asked by benniemc on Jul 19, 2012
Latest reply on Jul 19, 2012 by Vaughan

I have tried to capture the contents of a ValueList as follows:


$$x = ValueListItems ( Get ( filename ) ; "Sample" )


where "Sample" is a ValueList created by entries in a specific field, including "Happy".


then Script Step: If ( PatternCount ( $$x ; "Happy" ) = 0 // value not in list

// perform something

end if


I must be doing something wrong. This just doesn't work, and I think it should.

PatternCount ( $$x ; "Happy" ) always returns 0.


After hours of troubleshooting, I'm convinced that I'm doing it wrong. HELP!