• InesGarcia
  • NEWBIE
  • 132 Points
  • Member since 2014
  • Founder
  • get:Agile


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 9
    Replies

Trailhead has an error on your verification script: https://trailhead.salesforce.com/projects/customize-an-org-to-support-a-new-business-unit/steps/modify-your-data-model?trailmix_creator_id=00550000006yKA3AAM&trailmix_id=business-specialist

There was an unhandled exception. Please reference ID: MPHSZHKQ. Error: Faraday::ClientError. Message: INVALID_FIELD: name = 'Edge Communications' and Support_Plan_Start_Date__c < LAST_N_MONTHS:10 ^ ERROR at Row:1:Column:63 No such column 'Support_Plan_Start_Date__c' 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.

Trailhead has an error on your verification script: https://trailhead.salesforce.com/projects/customize-an-org-to-support-a-new-business-unit/steps/modify-your-data-model?trailmix_creator_id=00550000006yKA3AAM&trailmix_id=business-specialist

There was an unhandled exception. Please reference ID: MPHSZHKQ. Error: Faraday::ClientError. Message: INVALID_FIELD: name = 'Edge Communications' and Support_Plan_Start_Date__c < LAST_N_MONTHS:10 ^ ERROR at Row:1:Column:63 No such column 'Support_Plan_Start_Date__c' 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.
please correct this code and help me earn this badge ...have completed all tasks ..except this one ....

IF( MONTH( NOW() ) = 12,
  DATE( YEAR( NOW() ), 12, 31 ),
  DATE( YEAR( NOW() ), MONTH( NOW() ) + 1, 1) - 1
I'm getting the error "The outputLink component is not binding to the ID of a case" for this challenge. I've checked several threads on here and I'm almost certain it should be correct. It does link to the details page for the case. 

I initially just had the ID linking but have changed it so both case number and id link via id in case that mattered. 

I've also previously tried having a complete url as the value but no luck. 

Any help would be appreciated.

<apex:page controller="NewCaseListController">
 
        <apex:pageBlock title="New Case List" id="cases_list">
            
    <apex:repeat value="{! newcases }" var="cases">
       
        <apex:outputLink value="/{! cases.id}">
        ID:  {! cases.id }
        </apex:outputLink><br/>
        <apex:outputLink value="/{! cases.id}">
        Case Number:  {! cases.CaseNumber }
        </apex:outputLink><br/>    
    
    </apex:repeat>
            
        </apex:pageBlock>
I have been able to get similar ones to work (based on prior challenges) but I am struggling here.  Probably a newbie mistake somewhere.  Any help would be appreciated!  Thanks, Aron

-> Page (Gives Error: Unknown property 'String.Id error)

<apex:page controller="NewCaseListController">
    <apex:form >
        <apex:pageBlock title="Case List" id="Case_list">
            <!-- Case_list -->
         <apex:repeat value="{!Case}" var="case">
            <apex:outputLink value="{!Case.Id}">{!Case.Id}</apex:outputLink>
            <apex:outputLink value="{!case.CaseNumber}">{!case.CaseNumber}</apex:outputLink>
        </apex:repeat>      
        </apex:pageBlock>
    </apex:form>
</apex:page>

-> Class

ublic class NewCaseListController {

    public String getCase() {
        return null;
    }


    public String getCases() {
        return null;
    }

private String sortOrder = 'CaseNumber';
public List<Case> getNewCases() {
    List<Case> results = Database.query(
        'SELECT Id, CaseNumber ' +
        'FROM Case ' +
        'WHERE Status = New ' +
        'ORDER BY ' + sortOrder + ' ASC ' +
    );
    return results;
    }
}

@Lauren Grau: I have earned Four Badges and In below link its mentioned that after completing one batch,you will get free t-shirt.

http://go.pardot.com/l/27572/2015-06-25/447clt