You need to sign in to do that
Don't have an account?
DHO_604
Expression value does not resolve to a field
I'm overriding the create new case record by creating a new VF page, and if the creator is internal then make him select the record type. However the VF page gives me the 'Expression value does not resolve to a field' error when I added the recordtype field onto the page.
This is what I did on the VF page:
<apex:form >
Select a Record Type: <apex:inputField value="{!Case.RecordType}"/>
</apex:form>
What did I do wrong?
TIA,
D
Looks like the fieldname is just "Type". So {!case.type} should work....
Looks like the RecordType is not supported as an input field from further readings. I'm looking into creating a custom component to handle this.
Reference: http://salesforcesource.blogspot.ca/2009/01/visualforce-component-to-show-object.html
Please let me know if this is the right approach.
Cheers,
D
Try
<apex:inputField value="{!Case.RecordTypeId} "/>
I encoutentered the same error and when I used "RecordType" on a custom object