function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kora bornkora born 

Trailhead errror


$A.get("e.force:navigateToURL").setParams(
    {"url": "/apex/Accountsummary"}).fire();

returns an error that the page does not exist

from: https://trailhead.salesforce.com/modules/visualforce_fundamentals/units/visualforce_standard_controllers
NagendraNagendra (Salesforce Developers) 
Hi Kora,

Sorry for this issue you are encountering.

May I request you please confirm if you have created a visual force page called AccountSummary?

Please post the code snippet of what you have tried so far so that we can look into it and can help you accordingly.

Happy to help further.

Thanks,
Nagendra
kora bornkora born
I even created another copy of AccountSummary in whatever confusing other devlopment area Dev console defaults to; I didnt make ANY changes overnight to the code, and now it all just works. 
Adrienne LeeAdrienne Lee
Hi Nagendra, 

I have similar issue.... when I click preview, the account details does not come across... can you please have a look at my code and let me know what I have missed or done wrong

$A.get("e.force:navigateToURL").setParams({"url": "/apex/pageName?&id=0017F000007y86TQAQ"}).fire();
<apex:page standardController="Account">
    <apex:pageBlock title="Account Summary">
    <apex:pageBlockSection>
        Name: {! Account.Name } <br/>
        Phone: {! Account.Phone } <br/>
        Industry: {! Account.Industry } <br/>
        Revenue: {! Account.AnnualRevenue } <br/>
        Account owner: {! Account.Owner.Name } <br/>
        </apex:pageBlockSection></apex:pageBlock>
</apex:page>

Got stuck on this module 
https://trailhead.salesforce.com/modules/visualforce_fundamentals/units/visualforce_standard_controllers

Thanking you in advance