Allow user to specify resource type when adding a resource to content metadata