Find your content:

Search form

You are here

InputField not editable when in Edit Mode

 
Share

I am rendering a VF page in Customer Portal and hoping to use inputField. Issue is that the field is not showing as editable, this happens when rendered from the portal (as a portal user) and my in my force.com app, see code below.

<apex:page sidebar="false" standardController="Contact">
    <apex:form >
    <h1>Hello, {!$User.FirstName}</h1>
        <apex:pageBlock title="PP Form" mode="edit">
            <apex:pageBlockSection title="Personal Details">
                <apex:inputfield value="{!contact.name}"/> 
                <apex:inputfield value="{!contact.name}"/> 
            </apex:pageBlockSection>
            <apex:pageBlockSection >
                <apex:commandButton action="{!save}" value="Save"/>
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>

Thanks in advance


Attribution to: Mahat Hussein

Possible Suggestion/Solution #1

Are you referring to: Customer Portal User Licenses or Service Cloud Portal User Licenses depending on the user licenses, some users don't have have access to update contacts, make sure your using a license that has access to 'Contacts' here: https://na3.salesforce.com/help/doc/en/users_understanding_license_types.htm


Attribution to: jordan.baucke

Possible Suggestion/Solution #2

Name is a read-only field that's basically FirstName and LastName concatenated. Try this with either of those fields, and make sure that the profile has Field Level access to those fields.


Attribution to: Jeremy Nottingham
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/877

My Block Status

My Block Content