• Rinkle Kapur 7
  • 0 Points
  • Member since 2015
  • Persistent Systems

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
  • 3
If I create a Big Object and then delete it is that counted towards the 100 big object limit? 

I need to change our homepage that all our users sees after they login. I know you can change the Default Landing Tab to any other object associated tab, but in our situation I need the homepage to land on a particular dashboard that I made.

Is there any way I can do this? If so How?  

Thank You,
  • August 16, 2016
  • Like
  • 0

I'm brand new to Apex and I'm having some trouble displaying aggregate results in a visualforce page. The extension isn't throwing any errors but the visualforce says "Error: Invalid field cv__Opportunity__c for SObject AggregateResult".


The way I read this is, either I'm not calling the fields properly in the visualforce page, or I'm not presenting the aggregate properly in the extension. Any help is of course greatly appreciated!


Here's the extension:

public class AccountDesignationHistoryExtension {
    Account CurrentAccount = null;
    List<AggregateResult> AccountDesignationHistory = null;
    public AccountDesignationHistoryExtension(ApexPages.StandardController controller) {
        CurrentAccount = (Account)controller.getRecord();
        AccountDesignationHistory = [SELECT COUNT(cv__Opportunity__c), Designation_Name__c, SUM(cv__Amount__c), MAX(Close_Date__c)
        From cv__Donation_Designation_Relationship__c
        WHERE cv__Opportunity__r.AccountId = :CurrentAccount.Id
        AND cv__Opportunity__r.StageName = 'Received'
        AND cv__Opportunity__r.cv__Posted__c = False
        GROUP BY Designation_Name__c];
    public List<AggregateResult> getAccountDesignationHistory() { return AccountDesignationHistory; }

Here's the visualforce:

<apex:page standardController="Account" extensions="AccountDesignationHistoryExtension">
    <apex:pageBlock >
        <apex:pageBlockTable value="{!AccountDesignationHistory}" var="a">
            <apex:column value="{!a.cv__Opportunity__c}" headerValue="Number of Donations" />
            <apex:column value="{!a.Designation_Name__c}" headerValue="Designation Name" />
            <apex:column value="{!a.cv__Amount__c}" headerValue="Total Designated Amount" />
            <apex:column value="{!a.Close_Date__c}" headerValue="Most Recent Donation" />


If I create a Big Object and then delete it is that counted towards the 100 big object limit?