You could probably back your way into searching by the name by adding a text-type custom column field that sources the item name with a formula, but if it were me I'd probably run an item search on the name to get the ID first and then use Record.findSublistLineWithValue() with that ID.
👍 1
a
AJ
12/13/2019, 5:23 PM
Thanks, that helps a lot
b
battk
12/13/2019, 5:23 PM
unnecessary search
battk
12/13/2019, 5:23 PM
just iterate through the sublist rows to find the text
m
MTNathan
12/13/2019, 5:24 PM
Yeah, I guess that's probably what Record.findSublistLineWithValue() is doing anyway, so that'd be more efficient.
MTNathan
12/13/2019, 5:24 PM
And then you can know if the item's in the list multiple times, if that's important to you; I've always found that to be an annoying limitation with Record.findSublistLineWithValue().