function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Melissa Driscoll 14Melissa Driscoll 14 

Error: Unknown property 'String.Name'

im getting unknonw peropert string.name
<apex:page StandardController="Handoff__c">     
    <Head>     
    <apex:form >        
    <apex:pageBlock title="Opportunity Product">                 
    <apex:pageBlockSection title="Opportunity Product Detail">                 
    <apex:outputField value="{!Handoff__c.Opportunity__r.Name}" />  
    <apex:repeat value="{!Handoff__c.Opportunity__r.OpportunityLineItems}" var="c">
       <td> {!c.PricebookEntry.Product2Id.Name} </td>
       <td> {!c.Quantity} </td>
</apex:repeat>               
    </apex:pageBlockSection>             
    </apex:pageblock>      
    </apex:form>       
    </head>
    </apex:page>
SwethaSwetha (Salesforce Developers) 
HI Melissa,
Can you also include your controller code?

See similar posts:
https://salesforce.stackexchange.com/questions/8318/unknown-property-string-plancount-visual-force
https://developer.salesforce.com/forums/?id=906F0000000g1myIAA
https://stackoverflow.com/questions/35177469/salesforce-unknown-property-string-name

Thanks