function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BWRIGBWRIG 

Displaying Fields

Hi,

 

I am new to visulaforce and I am just wondering, if I make the standardcontroller the opportunities object, can I pull information from other objects fields or do they have to be part of the opportunity.

I am trying the pull other account and contact information across to the Quote PDF I am building and I cannot figure out how to do this.

 

Thanks

AnushaAnusha

HI Dude,

You can't add multiple SC's.

But do one thing, create two properties of type Contact & Account. And use those in VF Page

 

public Account ObjAccount{get;set;}

public Contact ObjContact{get;set;}

 

and in Page

 

<apex:inputField value="{!ObjAccount.Name}">

<apex:inputField value="{!ObjContact.Name}">

 

this way yu can use.

goabhigogoabhigo

Which edition are you using? Can you write a controller class? If yes then your problem can be solved.

BWRIGBWRIG

Anusha, Sorry but what do you mean by "But do one thing, create two properties of type Contact & Account. And use those in VF Page". I am new to this and do not quote know what you mean?

 

Thanks

BWRIGBWRIG

abhi_the1-I am using enterprise and the AP Version is 22.0.

 

What is a controller class?

 

Cheers

goabhigogoabhigo

Wow thats great news. 

For more information about controller class refer this : http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_custom.htm

 

 

AnushaAnusha

Controller Class means Class, which will controls the vf Page.

before knowing Properties and ..........., First ofal better you have know the basics

 

http://www.salesforce.com/us/developer/docs/apexcode/index.htm 

 

this linnk will help you.