• Siva Nanda 9
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi Team,
I have created a VF page using standarController as Opportunity but it is not fetching the opportunity records(same is happening with Contact object too), whereas the same code is working fine with all other standar and custom object.

code below
<apex:page standardController="Contact" recordSetVar="cons">
    <apex:form >
    <apex:pageBlock title="Data from SF" >
        <apex:pageBlockSection title="Sub data" columns="1" >
        <apex:pageBlockTable value="{!cons}" var="c">
           <!-- <apex:column headerValue="Id of account along with link">
                <apex:outputLink value="/{!c.Id}">{!c.Id}</apex:outputLink>
            </apex:column> --->
            <apex:column value="{!c.Name}"/>
           
          </apex:pageBlockTable>
        </apex:pageBlockSection>
        <apex:commandButton value="Next" action="{!Next}"/>
         <apex:commandButton value="Previous" action="{!previous}"/>
  
        </apex:pageBlock>
    </apex:form>
</apex:page>
Hi Team,
I have created a VF page using standarController as Opportunity but it is not fetching the opportunity records(same is happening with Contact object too), whereas the same code is working fine with all other standar and custom object.

code below
<apex:page standardController="Contact" recordSetVar="cons">
    <apex:form >
    <apex:pageBlock title="Data from SF" >
        <apex:pageBlockSection title="Sub data" columns="1" >
        <apex:pageBlockTable value="{!cons}" var="c">
           <!-- <apex:column headerValue="Id of account along with link">
                <apex:outputLink value="/{!c.Id}">{!c.Id}</apex:outputLink>
            </apex:column> --->
            <apex:column value="{!c.Name}"/>
           
          </apex:pageBlockTable>
        </apex:pageBlockSection>
        <apex:commandButton value="Next" action="{!Next}"/>
         <apex:commandButton value="Previous" action="{!previous}"/>
  
        </apex:pageBlock>
    </apex:form>
</apex:page>
I'm stuck trying to access Einstein Platform Account. It says my email is already registered, but I have no way to get in. PEM? HELP please.