Create viewRecord