I'm using some CDTs to generate JSON to an Integration, and would like to *not* have JSON attributes where a Text field is blank. By default, all the attributes for my CDT are generated in the JSON string when I run the CDT through a!toJson.
Is there any way I can call a!toJson to optionally suppress blank attributes? Or, has someone written a hack that applies this kind of "filter" after the jsonString has been generated?
I see C# and Java solutions for this kind of thing, but not sure how to do this in Appian. Is there a plugin, something on AppMarket, etc.?
Thanks for any help!
Discussion posts and replies are publicly visible
© 2023 Appian. All rights reserved.