#LOOP(#SecondLevelObjects) #LOCAL("ViewAllowedSecondLevel", #ISACTIONALLOWED("View")) #IF(#ViewAllowedSecondLevel) #SET("ShowSecondLevel", 1)