• Jenna Hutt
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
Hello all,

I followed the directions in the Trailhead module and clicked https://localhost:8443. I received the below error.

This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

I have internet connection, there is no proxy, and I turned off the firewall. I saw documentation that suggested checking for missing "listen:443". I found it in the nginx.conf file. Any help would be appreciated. Thank you.

I'm currenty stuck on this trailhead challenge and no matter what resources I try and look up, I cant seem to get an answer. 

The challenge is as follows:

Create a mobile-friendly Visualforce page using SLDS
Use SLDS to create a simple, mobile-friendly list of existing contact names and phone numbers and display the page in the Salesforce mobile app.
Create a Visualforce page named MobileContactList.
It must import the Lightning Design System.
It must use the Lightning Design System Name Value List utility class.
It must use the Contact standard list controller with a recordSetVar of contacts.
It must iterate through the list of contacts using an apex:repeat component that's bound to a var named c.
It must display the name and phone number of the contacts on the page.
It must be made available for the Salesforce mobile app.
It must be included in a tab named MobileContacts. The tab must be added to the Salesforce app navigation 

 

The code I am using. 

<apex:page standardController="Contact"  recordSetVar="contacts" 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" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <apex:slds />
    </head>   
    <body>
       <!-- REQUIRED SLDS WRAPPER -->
        <div class="slds-scope">
            <!-- PRIMARY CONTENT WRAPPER -->
            <div class="myapp">
                <dl class="slds-list_horizontal slds-wrap">
 					 <apex:repeat value="{!contacts}" var="contact">
                        <dt class="slds-item_label slds-text-color_weak slds-truncate" title="name">name:</dt>
                        <dd class="slds-item_detail slds-truncate" title="Contact Name">{!contact.name}</dd>
                     </apex:repeat>
                </dl>    
            </div>
        </div>
    </body>
</html>
</apex:page>


I am using the following website as reference for the Name Value List.

https://www.lightningdesignsystem.com/utilities/name-value-list/

and the trailhead itself on how to structure my code

https://trailhead.salesforce.com/trails/force_com_dev_intermediate/modules/visualforce_mobile_salesforce1/units/visualforce_mobile_salesforce1_lightning_design

And I am referring to previous trailheads for examples on how to use the apex:repeat and recordSetVar but nothing is displaying on my page and when I look at the source code, there's simply nothing in the data list. 

Any ideas?

I am trying to deploy the xml package for Customer_Interaction__b.object using the workbench for this unit. However I deploy and get success message in workbench but cannot see any big object.
  • I did see on the unit page it says that the examples are written for api unit 41.0 but my workbench doesnt allow me to go beyond 40. Does this matter?
  • My trailhead playground is on winter 18.
  • Does it matter what the file name for the object and permission set? (I do have the package.xml)
  • I have tried with and without having 'Single package' selected in workbench deploy
  • I have double checked the workbench is logged into the correct org
User-added image
User-added image