+ Start a Discussion
Puneet KhoslaPuneet Khosla 

Superbadge : Lightning Experience Rollout Challenge 3 : The AccountTab Visualforce page does not include one or both of the following: the apex:slds tag in the page, or the slds-table value in the table.

I am getting this error when trying to do the "Lightning Experience Rollout Specialist"

The AccountTab Visualforce page does not include one or both of the following: the apex:slds tag in the page, or the slds-table value in the table.


My code is as follows:
 
<apex:page standardStylesheets="false" standardController="Account" recordSetVar="accounts" tabStyle="account" applyHtmlTag="false" applyBodyTag="false" showHeader="false">
   <head>
       <apex:slds />
    </head> 
	<body>
    <div class="slds-scope">     
        <table class="slds-table">
  			<thead>
    			<tr class="slds-text-title_caps">
      				<th scope="col">
        				<div class="slds-truncate" title="{!$ObjectType.Account.Fields.Name.Label}">{!$ObjectType.Account.Fields.Name.Label}</div>
      				</th>
    			</tr>
  			</thead>
  			<tbody>
    			<apex:repeat value="{!accounts}" var="a">
                <tr>
                  <td data-label="Account Name">
                    <div class="slds-truncate" ><apex:outputLink value="{!URLFOR($Action.Account.View, a.id)}">{!a.name}</apex:outputLink></div>
                  </td>
      
    			</tr>
                </apex:repeat>
            </tbody>
        </table>
     <!--   
     <div class="slds-scope">
        <apex:pageBlock >
            <apex:pageBlockTable value="{!accounts}" var="a" styleClass="slds">
                <apex:column headerValue="{!$ObjectType.Account.Fields.Name.Label}">
                    <apex:outputLink value="{!URLFOR($Action.Account.View, a.id)}">{!a.name}</apex:outputLink>
                </apex:column>
            </apex:pageBlockTable>
        </apex:pageBlock>-->
    </div>
        </body>
</apex:page>

 
Best Answer chosen by Puneet Khosla
Puneet KhoslaPuneet Khosla
Looks like I figured out.

styleClass="slds-table" needs to be added to pageBlockTable

All Answers

Puneet KhoslaPuneet Khosla
Looks like I figured out.

styleClass="slds-table" needs to be added to pageBlockTable
This was selected as the best answer
Henrik HeltHenrik Helt
Hi 
I have the similar issue and have tried to copy paste your code, unfortunately I still get the same error. I can see your says styleClass="slds-table" needs to be added to the pageBlockTable, but the code in your pageBlockTable is not active and when activating it the code is no longer valid - any suggestions.
Nazrul AminNazrul Amin
Hi @Henrik, try the below.  Frustrating question as I had similar issues.  I only added the 2 bolded items below.

<apex:page standardStylesheets="false" standardController="Account" recordSetVar="accounts" tabStyle="account">
<apex:slds />
    <div class="slds-scope">
        <apex:pageBlock >
            <apex:pageBlockTable value="{!accounts}" var="a" styleClass="slds-table">
                <apex:column headerValue="{!$ObjectType.Account.Fields.Name.Label}">
                    <apex:outputLink value="{!URLFOR($Action.Account.View, a.id)}">{!a.name}</apex:outputLink>
                </apex:column>
            </apex:pageBlockTable>
        </apex:pageBlock>
    </div>
</apex:page>
Henrik HeltHenrik Helt
Hi Nazrul, After some triggle back and forward I succeded - thank you very much for providing these guidelines. Med venlig hilsen / Kind regards Henrik Helt Hansen Senior Consultant Corpital P/S Tobaksvejen 23B 2860 Søborg Denmark P: (+45) 70 20 77 01 W: www.corpital.com @: hhh@corpital.com [image: Twitter]Twitter This e-mail message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. If you have received this e-mail in error, please notify the sender and delete the material from any computer. Corpital has taken every reasonable precaution to minimise the risk of software viruses, and as such we cannot accept liability for any damage you may sustain as a result of such viruses.
Akash Deb NathAkash Deb Nath
Hey, its really amazing blog I am very much interesting. Thanks for the great article. Regards, katmoviehd (https://www.godigitalzone.in/katmoviehd/)

 
pavan Vorapavan Vora
Puneet, I had similar issues with code. Following (https://www.4lifeinnovations.com/affordable-seo-packages/)!
Prem PanditPrem Pandit
My Output is Little different by Why ? on my Web Isaimini (https://www.digitalsahayta.in/isaimini-moviesda-2020-tamil-movies-hd-download/)
Jack NealJack Neal
Yeah, that's fine I suppose but for bulk ammo at cheap prices, I always use CheapAmmo.com. They have a big in-stock assortment of calibers like 9mm for pistols and 223 Remington for rifle shooters at prices that are lower than any other place out there. Their shipping is fast and discreet too, which I like. I urge you to check them out now.
Imtiaz Bin MohiuddinImtiaz Bin Mohiuddin
@Nazrul is right. You just need to add tose two items to solve this problem.
<apex:slds />
styleClass="slds-table"
Thop TV APKThop TV APK
Awesome. Thanks for your support. My Problem fixed successfully. Regards, MoviesTrending Now (https://moviestrendingnow.com/)
Akash Deb NathAkash Deb Nath
I have found articles very helpful. I loved it...really helpful. Pagalmovies (https://emarenas.com/about/pagalmovies/) and War (https://emarenas.com/entertainment/war-full-movie-online/)
Akash Deb NathAkash Deb Nath
I think you solved your problem but all these replies I found very well thanking you all. regards Emarenas (https://emarenas.com/) team (https://emarenas.com/about/)
Carls MattCarls Matt
Carls BennyCarls Benny
Thanks for the support (https://www.atidymind.co.uk/)
Ryan RanoldsRyan Ranolds
I think I have found the solution, thanks. https://www.veeble.org (https://www.veeble.org/)