Issue 19453: Rework of workspace to loop through controls vs attributes
Issue 19453: Changed findAttributes function to return arrays of values