I'm trying to fetch the FilterParts of FilterDefinitions in SSJS (for debugging now used on a landing page).
var results = FilterDefinition.Retrieve({Property:"CategoryID",SimpleOperator:"equals",Value:"xxxx"});
As expected, this gives me an array of FilterDefinitions from a specific folder, and I see most of the properties just fine. I cannot read the DataFilter
property though, it just gives the object type when I Stringify it:
"DataFilter":"ExactTarget.Integration.WSDL.ComplexFilterPart"
How can I access the actual FilterPart
so I can see what the filter is constructed of?
DataFilter
using Marketing Cloud API (like an external sys) because in my experience none of the build in methods of Ampscript and SSJS return you something differente from:ExactTarget.Integration.WSDL.ComplexFilterPart
ornull
(with WSproxy).