FavoriteNarasimha Reddy (Accenture) asked in #VisualforceMay 18, 2015, 7:44 AMhow to get lookup fields auto populated in visualforce page1 answerSortSort by DateSort by Most HelpfulSort by DateNikita Lakhotia (Deloitte)May 18, 2015, 9:38 AMHi,To auto populate the Lookup field in vf page.Just assign the Id in the lookup field in the constructor of the vf page.Like,Test.LookupField__c = id;ThanksNitinShow MoreAdd a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Nikita Lakhotia (Deloitte)May 18, 2015, 9:38 AMHi,To auto populate the Lookup field in vf page.Just assign the Id in the lookup field in the constructor of the vf page.Like,Test.LookupField__c = id;ThanksNitinShow More