view resource