Adding dynamic view assignments