Add property code to view