AnsweredAssumed Answered

Email scripting with custom object - show whole list, but only particular fields

Question asked by Phillip Wild on Feb 10, 2018
Latest reply on Feb 14, 2018 by Phillip Wild

Hi team

 

I'm trying to output a custom object, but only a particular field. So let's say I have a custom object named CustomObject with the fields Name and Description. I can use:

 

${CustomObject}

 

To output all fields. Great. I can also use:

 

${CustomObject.get(0).Name}

 

To output the first record of that custom object, and the Name field.

 

But....I can't for the life of me work out how to output the Name field for every record in that custom object. I've tried things like:

 

${CustomObject.Name}

${CustomObject.get.Name}

${CustomObject.get().Name}

 

With no luck. What am I missing here? I'm sure this can't be that hard....

 

Thanks!

Outcomes