+ Start a Discussion
Julian KeefeJulian Keefe 

Superbadge: Lightning Experience Rollout Specialist Step 3

Error Message:
Challenge Not yet complete... here's what's wrong: 
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.

Hello all. I am working on the new superbadge and getting stuck on Challenge 3 . I have tried several solutions but cannot get the data to display in table format. Here is my code below, my main issue is where to place the table class in realtion to the pageBlockTable.

<apex:page standardStylesheets="false" standardController="Account" recordSetVar="accounts" tabStyle="account" applyBodyTag="false">
    <apex:slds >
        
        <div class="slds-scope">
             
                <apex:pageBlock>
                    
                    <table class="slds-table"> 
                    <apex:pageBlockTable  value="{!accounts}" var="a">
                       
                        <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> 
                    </table>
                    
                </apex:pageBlock>
            
        </div>
    </apex:slds>    
</apex:page>

 
Best Answer chosen by Julian Keefe
David HamburgDavid Hamburg
Try


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

All Answers

David HamburgDavid Hamburg
Try


<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>
This was selected as the best answer
Julian KeefeJulian Keefe
Thank you very much David, I didn't realize I needed the styleClass instead of table class ! 

 
Tom Zimmerman 2Tom Zimmerman 2
Hi All,

I am trying to get the document migrated to files but am not sure how to do this.  I tried exporting documents but couldnt find a way to export using the Salesforce Export tools.  I then tried to export using the data loader and was able to successfully export but then when I tried to import into files there was no way to import the document.  Can anyone walk me through how i migrate the document to files?
Stevie Burt 7Stevie Burt 7
I am having the same issue as @Zimmerman. I tried just manually saving the document and creating a new file. but it says that the document must be available to view in lightning and I am still receiving the error. Can anyone assist?
S Randhawa 8S Randhawa 8
Hey guys,
Download the Destination success.png from classic and upload it to Files in lightning with the same name. That is all i did to pass this. 
May be paste the exact error you are getting. 
Thanks,
Rebecca GrayRebecca Gray
Steve- I did the same thing as S Randhawa.  Downloaded the document - keeping the same name - then uploaded it to Files.
John LayJohn Lay
When saving the document in files, make sure you make the new file public read-only.
Faiza Naz 10Faiza Naz 10
Hi,
This blog has complete solution.
http://faizanaz90.blogspot.com/2017/09/salesforce-trailhead-lightning.html
Robert Christensen 7Robert Christensen 7
I've tried uploading the Destination Success.png to Files while in Lightning experience and tried every variation of sharing I can find and I still can't get the file to be available in Lightning.  Is there possibly a setting I'm missing somewhere?
Bob RhodesBob Rhodes
The visualforce page solution mentioned in this post and the file solution mentioned in this post both worked on the first try.  For general knowledge, is downloading the document and then manually uploading it the only option that admins have to migrate documents to Salesforce files without using code?
fanofSFDCfanofSFDC
I uploaded the file using the exported name (random #) and renamed it in the library to LEX_Badge.png.  Wouldn't pass. I had to rename it first, then upload to the library.
Manmeet Singh 52Manmeet Singh 52
Please, guys, help me with this. I get frustrated with many trails.
Challenge Not yet complete... here's what's wrong: 
Couldn't find the AccountsTab Visualforce page. The page is included in the unmanaged package you're required to install.
Anyone Fix me with this 
Fraz MianFraz Mian
Hi Guys,
I need some help with 3rd challenge, visualsource page solution mentioned above by David Hamburg, did not work for me.
After using this code I only see just a bar with "Account name" on it. The rest of the page is blank.Accounts
Thanks
jack oscarjack oscar
3rd challenge is best challenge For visualsource its related things. ( https://surveyreward.co )
kaushal sharma 24kaushal sharma 24
nice article thanks for article
realtimenews (http://realtimenews.org.in/)
kaushal sharma 24kaushal sharma 24
nice article thanks for article
realtimenews (http://realtimenews.org.in/)
kaushal sharma 24kaushal sharma 24
nice article thanks for article
word to pdf (http://fastkpdf.com/)
age calculator (https://www.realagecalculator.com/)
insta fonts (http://fontsbrother.com/)