+ Start a Discussion
Joseph WinterJoseph Winter 

Trailhead: VisualForce Mobile: The API version you've specified is lower than the minimum version of 39 for the apex:slds object

Hi all,

I am working through the Visualforce Mobile trailhead, and in the "Use the Salesforce Lightning Design System to Style Visualforce Pages" module, the first step of the exercise defines this class;
 
<apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">

  <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en">
    <head>
      <meta charset="utf-8" />
        <meta http-equiv="x-ua-compatible" content="ie=edge" />
        <title>SLDS LatestAccounts Visualforce Page in Salesforce Mobile</title>
        <meta name="viewport" content="width=device-width, initial-scale=1" />

      <!-- Import the Design System style sheet -->
      <apex:slds />
    </head>     
    <body>

      <!-- REQUIRED SLDS WRAPPER -->
      <div class="slds-scope">

         <!-- PRIMARY CONTENT WRAPPER -->
         <div class="myapp">

         </div>
         <!-- / PRIMARY CONTENT WRAPPER -->

      </div>
      <!-- / REQUIRED SLDS WRAPPER -->

      <!-- JAVASCRIPT -->
      <!-- / JAVASCRIPT -->
    </body>
  </html>
</apex:page>
When the class is saved, an error is produced:
"The API version you've specified is lower than the minimum version of 39 for the apex:slds object"
This happens in both the developer console and mavensmate/sublime. 

Is there any way to fix this so I can continue the module?

Thanks
Best Answer chosen by Joseph Winter
Nayana KNayana K
While creating the page,  make sure to set the api version >=39

User-added image
For eg,  in the above image version is  32. We can change it as per the need. 

All Answers

Nayana KNayana K
While creating the page,  make sure to set the api version >=39

User-added image
For eg,  in the above image version is  32. We can change it as per the need. 
This was selected as the best answer
Joseph WinterJoseph Winter
Such a simple fix, thank you!