• Sudheer Reddy Vangala 22
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
I was solving this challenge and my VF code is:

<apex:page standardController="Account" recordSetVar="Accounts" >
    <apex:pageblock>
        <apex:repeat var="a" value="{!Accounts}" rendered="true"  id="account_list">
            <li>
                <apex:outputLink value="https://ap1.salesforce.com/{!a.ID}" >
                    <apex:outputText value="{!a.Name}"/>
                </apex:outputLink>
            </li>
        </apex:repeat>
    </apex:pageblock>
</apex:page>

I am getting the list of accounts as required and on clicking on any of the accouts, it redirects to that accounts detail page.
Still I am getting following error from trailhead:

"The page does not bind to the record ID value (in order to link to the record detail page)"
Here is the trailhead Challege:
To pass this challenge, create a new list view which only shows contacts belonging to you that have been created or modified in the last week.The list view must be named 'My Recent Contacts'.
The list view should only be visible to you.
The list view must show contacts belonging to you that have been created or modified in the last week.

Solution Created on my Salesforce Dev account:
User-added image

Error Encountered:
User-added image

Could someone suggest why trailhead is not able to recogonize the list view on my account?

Many thanks
Senthil