+ Start a Discussion
Deepak Sharma 184Deepak Sharma 184 

getting error " The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores" when passing the id in URL.

<apex:page sidebar="false" 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/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Best Answer chosen by Deepak Sharma 184
Amit Chaudhary 8Amit Chaudhary 8
You page is working fine in my Developer org. I hope you are passing ID like below

User-added image