+ 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/)
Smita HodiggeriSmita Hodiggeri
Thanks Puneet! this helped me solve my issue. 
Alex Paul 30Alex Paul 30
Keep it up, thanks for sharing  - https://www.abg.net/
Akash Deb NathAkash Deb Nath
Mark Johnson 75Mark Johnson 75
Gas Ray Ltd - Domestic Gas Services, Plumbing and Heating services in all London  https://gasray.co.uk/
Mark Johnson 75Mark Johnson 75
Domestic Gas Services, Plumbing and Heating services in all London, at Gas Ray, we offer boiler and gas Installation services. Gas safe check & certified.  https://gasray.co.uk/gas-services/
coffee herocoffee hero
Gas Services, Plumbing and Heating services in all London, at Gas Ray, we offer boiler and gas Installation services. Gas safe check & certified
Milk Lab almond Milk (https://coffeehero.com.au/collections/milklab)  detox shampoo (https://cokeclear.com/detox-shampoo-hair-drug-test/)  Light Therapy (https://www.beautybylight.com.au/products/beauty-by-light)  Mould Removal Brisbane (https://www.moisturecontrol.com.au/mould-removal-remediation/)
Mark Johnson 75Mark Johnson 75
Domestic Gas Services, Plumbing and Heating services in all London, at Gas Ray, we offer boiler and gas Installation services. Gas safe check & certified 
https://gasray.co.uk/heating-services/
https://gasray.co.uk/gas-services/
https://gasray.co.uk/plumbing-services/
Peter BastianPeter Bastian
D&H Partnership is a specialist company that primarily supplies, installs and maintains surgical lighting including theatre operating luminaires and examination luminaires.   https://dhpltd.co.uk/
coffee herocoffee hero
Thank for sharing this wonderful article. Great work!!!  https://www.blackbirdrestaurant.net/
mark jones 123mark jones 123
Howdy, it was a genuinely awesome adventure for me and my pet rabbit when we eventually checked out your web blog. I just wished to commend you on the level of quality of the work you have done here and to send you the best of luck as you advance into the future. Today I found an amazing website on the internet and this website offering free EaseUs data recovery wizard license key (https://www.freelicensekeys.com/2020/08/easeus-data-recovery-license-key.html) generator and 64 bit windows 7 ultimate product key at free of cost, so go grad these two amazing software.
George FloydGeorge Floyd
Startgrid - Enterprise Innovation Management Software, it makes it easy for innovation teams to discover, manage & analyze startup ecosystem helping you innovate faster. https://corp.startgrid.com
Matt PaulMatt Paul
We develop and craft the WordPress Websites to empower your business opportunities https://www.roemin.com/services/wordpress-development-customization/
George FloydGeorge Floyd
Tree surgeon in Rotherham, Sheffield - Welcome to sky high tree services - site clearance/land clearance, tree & hedgerow planting, commercial landscaping - 07544 446718 https://www.skyhightree-services.co.uk/
coffee herocoffee hero
This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog 
Phone Repair Shop Preston
ethan johnsonethan johnson
you can get live currency rates at https://poundtodollarz.com/ and https://allhubss.com/ they are providing rates like google.
George FloydGeorge Floyd
Care Proceedings Solicitors - Getting advice at the outset could avoid court action. Contact NjP solicitors today  https://www.njpsolicitors.com/family-services/care-proceedings/
George FloydGeorge Floyd
Looking for Domestic Violence Solicitors in Telford, Birmingham? For urgent help with Domestic violence/abuse call us for free advice on protective orders  https://www.njpsolicitors.com/family-services/domestic-violence/
Mark Johnson 75Mark Johnson 75
Black Friday Hosting Deals - Check out Veeble's Black Friday web hosting sales, upto 20 to 50% OFF on Windows VPS, unlimited hosting, reseller hosting. Check regularly to grab cheapest web hosting deals. https://www.veeble.org/black-friday-hosting-deals (https://www.veeble.org/black-friday-hosting-deals)