5 respuestas
Hi Javier,To do that in visualforce page its and easy peasy thing.If you want the records of a particular object in the picklist then just do as follows1. In the controller query the records (Must having a limit )and add it to a SelectOption list.2. Show that SelectOption list on VF PAGE.Somthing like this //Select list of ProductList<SelectOption> productList = new List<SelectOption>();productList.add('--None--', '');//Query Product records and add to selectOption listfor(Product2 pr : [Select Id, Name From Product2 Limit 10]) { productList.add( pr.Name, pr.Id);}Note : This code is not tested just written for an exampleRegards,Abhi TripathiSalesforce Developerhttp://abhithetechknight.blogspot.in/