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
B2000B2000 

List View Error on Home Page Custom Component VF Page Using Custom Object

I am trying to use an custom component on the Home Page to display a List View of a custom object.  I receive the following error message when selecting a "My Open Projects" list view.

 

start_date__c FROM ADP_Project__c WHERE ((OwnerId = '00580000001nmAF') AND ^ ERROR at Row:1:Column:147 No such column 'OwnerId' on entity 'ADP_Project__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

 

<apex:page standardController="ADP_Project__c" recordSetvar="HomePageProjects" showHeader="false" sidebar="false"> <apex:pageBlock > <apex:form id="theForm"> <apex:panelGrid columns="8"> <apex:outputLabel value="View:"/> <apex:selectList value="{!filterId}" size="1"> <apex:actionSupport event="onchange" rerender="list"/> <apex:selectOptions value="{!listviewoptions}"/> </apex:selectList> </apex:panelGrid> <apex:pageBlock > <apex:pageBlockTable var="m" value="{!HomePageProjects}" id="list"> <apex:column value="{!m.Name}"/> <apex:column value="{!m.Account__r.Name}"/> <apex:column value="{!m.Stage__c}"/> <apex:column > <apex:facet name="header">Start Date</apex:facet> <apex:outputText value="{!MONTH(m.Start_Date__c)}-{!DAY(m.Start_Date__c)}-{!YEAR(m.Start_Date__c)}"/> </apex:column> <apex:column value="{!m.Analyst__c}"/> <apex:column value="{!m.Fulfillment_Specialist__c}" /> <apex:column value="{!m.Graphic_Designer__c}" /> </apex:pageBlockTable> </apex:pageBlock> </apex:form> </apex:pageBlock> </apex:page>

 

mtbclimbermtbclimber

Thanks for reporting this issue.

 

If you can change the master-detail relationship to a lookup you can avoid it.

 

I'll update this thread when we have more information regarding a resolution.

 

Cheers,

rksfdcrksfdc
could not post leangthy msg here, can u fix?