• donaldd
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
This is a total noob question - thanks in advance for you help. :)

I'm working through a visualforce tutorial and ran into an error. The tutorial says:
Display the details of a particular record.
Use the apex:detail component to modify your code to display the record's detail view. This
standard view is delivered by the standard controller, which requires the record ID for an
existing record as part of the URL. Note that, when you are using the Page Editor, you get
content assist when you use Apex tags.
a) Click Save.
b) Locate an existing Mileage record (or, if you have not created any records, create a
new record now).
c) Copy the record ID from the Mileage record. The record ID is the 15-character string
following the Salesforce instance portion of the URL. For example, if the URL for
your Salesforce instance is https://na1.salesforce.com, the complete URL for the
display of a Mileage record could be https://na1.salesforce.com/a0070000009c3QQ
d) Add the record's ID into the URL for your Visualforce page, prefixed with ?id=.
For example, if the URL for your Visualforce page is
https://na1.salesforce.com/apex/MyMileagePage and the record ID is
a0070000009c3QQ, the completed URL would be
https://na1.salesforce.com/apex/MyMileagePage/?id=a0070000009c3QQ.
e) Press Enter.
When I paste ?id=[objectrecordID] to the end of my url I get the error:
The page name can only contain alphanumeric characters, must begin with a letter, and must be unique.
I'm totally stuck on this. Any help would be great.

Thanks again!


This is a total noob question - thanks in advance for you help. :)

I'm working through a visualforce tutorial and ran into an error. The tutorial says:
Display the details of a particular record.
Use the apex:detail component to modify your code to display the record's detail view. This
standard view is delivered by the standard controller, which requires the record ID for an
existing record as part of the URL. Note that, when you are using the Page Editor, you get
content assist when you use Apex tags.
a) Click Save.
b) Locate an existing Mileage record (or, if you have not created any records, create a
new record now).
c) Copy the record ID from the Mileage record. The record ID is the 15-character string
following the Salesforce instance portion of the URL. For example, if the URL for
your Salesforce instance is https://na1.salesforce.com, the complete URL for the
display of a Mileage record could be https://na1.salesforce.com/a0070000009c3QQ
d) Add the record's ID into the URL for your Visualforce page, prefixed with ?id=.
For example, if the URL for your Visualforce page is
https://na1.salesforce.com/apex/MyMileagePage and the record ID is
a0070000009c3QQ, the completed URL would be
https://na1.salesforce.com/apex/MyMileagePage/?id=a0070000009c3QQ.
e) Press Enter.
When I paste ?id=[objectrecordID] to the end of my url I get the error:
The page name can only contain alphanumeric characters, must begin with a letter, and must be unique.
I'm totally stuck on this. Any help would be great.

Thanks again!