Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Passing contact ID to visualforce page
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Passing contact ID to visualforc e page
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-15-2012 10:43 AM
Is there an easy way to incorporate the contact ID into the visualforce page via an apex class? I have a very basic visualforce page that displays the "Application__c" related list on the contact object.
But I want to be able to display this without clicking a button, so I can't pass the contact ID through a link or button.
any suggestions?
Thanks!
0
Re: Passing contact ID to visualforc e page
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-22-2012 02:26 AM
Hello,
Basically you can add id with this kind :
<apex:page standardController="Contact">
Hello {!$User.FirstName}!
<p>You are viewing the {!contact.id} contact.</p>
</apex:page>
Works fine for me!

