Thursday 6 September 2012

Display Other Fields - Visualforce

Your accountDisplay page only displays the name field of the Account object. To find other fields to display for the object, go to Setup | Customize | Accounts | Fields. Click any field, such as Ticker Symbol. The Field Name field provides the name that you can use in your own Visualforce pages. For example, for this particular field, the name is TickerSymbol.
Modify accountDisplay to include this field by adding the following paragraph after the existing one:
<p>Here's the Ticker Symbol field: {! account.TickerSymbol}</p>

No comments:

Post a Comment