You need to sign in to do that
Don't have an account?
kora born
$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
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
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
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