• Guddu Khalase
  • 0 Points
  • Member since 2022

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3
Apex function to collect and print all the unique IDs of account which belongs to banking industry ( account.industry) and are based on US and UK (account.country)? Please help ASAP..
Hi ,

Can some one help me to write a trigger to prevent delete of all Account records and its supporting test class.
Doesn't matter who the user is (Sys Admin/Custom Profile/Read Only...etc), the user should not be able to delete the account record.
There cannot be any exception.

Any help is appreciate.
I was solving this challenge and my VF code is:

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

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)"