Additional information:
Typically several query items are returned and I would want to iterate through the array of results and modify the summaryDisplay node to shorten it for each array item.
You can definitely do that, but since you’re not modifying anything about the query itself, you should just leave it like that, and have the repeater itself limit the text within it
It makes sense that to modify the text I want to modify within the repeater. The page is a Library Search page that allows a user to find a specific document. Using the $w(‘#repeater’).onItemReady(($item, itemData) => { watcher didn’t work and I suspect it’s because the repeater doesn’t get called until after a search function is called that populates the repeater.
$w(”#libraryRepeater").data = res.items;
I don’t understand the repeater lifecycle well and so am not sure when the $w(‘#repeater’).onItemReady is called.