You need to sign in to do that
Don't have an account?
Uttam SaiRaj
Custom Lookup in Visualforce Page
Hi,
I have a requirement like i have to show a contact lookup in Visualforce page where am not using any standard controller and when we are into the lookup i have to select the phone number in contact which i need it to send sms
Can any 1 suggest me aregarding this.
Thanks in advance,
Sai
I have a requirement like i have to show a contact lookup in Visualforce page where am not using any standard controller and when we are into the lookup i have to select the phone number in contact which i need it to send sms
Can any 1 suggest me aregarding this.
Thanks in advance,
Sai
VF Page :
Controller:
- public PageReference phn() {
- //Id agmtId = String.valueOf(contact.get('contact__c'));
- system.debug(con.Customer__c);
- id ids = con.Customer__c;
- contact ss = [select id,name,Phone from contact where id =: ids];
- Phone = ss.Phone;
- system.debug(ss);
- return null;
- }
This is what i have done, hope it will be useful for others.All Answers
Refer below link where you have sample code for the same.
https://developer.salesforce.com/forums/?id=906F000000094YKIAY
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya
VF Page :
Controller:
- public PageReference phn() {
- //Id agmtId = String.valueOf(contact.get('contact__c'));
- system.debug(con.Customer__c);
- id ids = con.Customer__c;
- contact ss = [select id,name,Phone from contact where id =: ids];
- Phone = ss.Phone;
- system.debug(ss);
- return null;
- }
This is what i have done, hope it will be useful for others.