Print this page

How to change Case Owner manually during Case creation

Knowledge Article Number 000186480
Description The Case Owner field is not editable on standard Case 'New'/Creation page. However, we can override the standard page with a VF page where we can manually assign it to a different User.
Resolution 1) Create a Visualforce page with the standard 'Case' controller and the vf tag <apex:inputField value="{!case.ownerid}"/>

2) Override Case 'New' button with this VF page.

Sample Code:
 
<apex:page standardController="case"> 
	<apex:form > 
		<apex:pageBlock Title="Case Edit"> 
			<apex:pageBlockSection > 
				<apex:inputField value="{!case.Ownerid}"/> 
				<apex:commandButton value="Save" action="{!Save}"/> 
			</apex:pageBlockSection> 
		</apex:pageBlock> 
	</apex:form> 
</apex:page>

 
 

 




promote demote