• fredbe77
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Hello Everybody,

 

I perform the Visualforce tutorial from this book: Visualforce Workbook.

 

I create Visualforce page and copy/paste the following code in it:

 

<apex:page standardController="Account">
<p>Hello {! $User.FirstName}!</p>
<p>You are viewing the {! account.name} account.</p>
</apex:page>

 

I call the page using the following URL like indicated in the Tuto:

     https://c.na15.visual.force.com/apex/Hello&id=001i0000007fhl9

 

I get the following error message in a blank page:

 

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.

 

I get this message even when I change the standardController and comment the account.Name line. No message if I don't use the "&id=001i0000007fhl9" part or the URL.

The environment is completly new (less than 24 hour) and it was the first update I was performing.

 

Has anyone an explanation and possibly a solution to this issue ?

 

Thank very much you for your help

fredbe77

 

Hello Everybody,

 

I perform the Visualforce tutorial from this book: Visualforce Workbook.

 

I create Visualforce page and copy/paste the following code in it:

 

<apex:page standardController="Account">
<p>Hello {! $User.FirstName}!</p>
<p>You are viewing the {! account.name} account.</p>
</apex:page>

 

I call the page using the following URL like indicated in the Tuto:

     https://c.na15.visual.force.com/apex/Hello&id=001i0000007fhl9

 

I get the following error message in a blank page:

 

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.

 

I get this message even when I change the standardController and comment the account.Name line. No message if I don't use the "&id=001i0000007fhl9" part or the URL.

The environment is completly new (less than 24 hour) and it was the first update I was performing.

 

Has anyone an explanation and possibly a solution to this issue ?

 

Thank very much you for your help

fredbe77