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

Visual force error when viewing "Partner Accounts" from a List view

I am using hte example from the developer guide below:


<apex:page standardController="Account" recordSetvar="accounts">
  <apex:pageBlock title="Viewing Accounts">
  <apex:form id="theForm">
    <apex:panelGrid columns="2">
      <apex:outputLabel value="View:"/>
      <apex:selectList value="{!filterId}" size="1">
        <apex:actionSupport event="onchange" rerender="list"/>
        <apex:selectOptions value="{!listviewoptions}"/>
    <apex:pageBlockSection >
      <apex:dataList var="a" value="{!accounts}" id="list">

 I have a list view defined that use the criteria "Partner Account is not empty". When I select this list view in my visual force page I get the following error:


LastName FROM Account WHERE (((ACCOUNT.IS_PARNTER != FALSE))) ^ ERROR at Row:1:Column:106 No such column 'IS_PARNTER' on entity 'Account'. 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.




I think you just misspelled partner in ACCOUNT.IS_PARNTER != FALSE


Have you enabled the partner portal access for your org? The Ispartner field will not be available until at least one Partner Portal will be defined.  Check your Field API name, in case you have already the partner portal access.


Hope this helps.