Try something like this: marks.THE_LISTS = CONTENT marks.THE_LISTS { table = tt_content select { uidInList = [your list of content UIDs] max = 1 orderBy = rand() } } Tomas Mrozek