Skip to main content
11 events
when toggle format what by license comment
Mar 20, 2017 at 16:26 comment added vetal_king Thanks Martin, Derek for your response. Yes I am trying to build the VF page based on metadata information that is present in one of the custom objects.
Mar 20, 2017 at 16:22 answer added Adrian Larson timeline score: 2
Mar 20, 2017 at 15:55 history edited Adrian Larson CC BY-SA 3.0
deleted 12 characters in body
Mar 20, 2017 at 15:14 comment added Derek F @vetal_king the idea here is that you'd use an SObject (like Account) that has field(s) of the appropriate type (from your example, Text, Date, Number, and Picklist, respectively) instead of using your custom object (which is the 'hard way' of accomplishing what you're looking to do).
Mar 20, 2017 at 14:42 comment added Martin Lezer There's an example in the documentation I provided.
Mar 20, 2017 at 14:29 comment added vetal_king How do I use inputField? I could not find a way to render dropdown list if the type of the field is dropdown. I could use type=data etc. Can you please provide me some pointers?
Mar 20, 2017 at 14:24 comment added Derek F As Martin Lenzer notes, <apex:inputField> is the tool for the job here. Is there a particular reason why you don't want to use that? If you're looking for a way to add a collection of sObject fields to a Visualforce page without typing <apex:inputField> over and over, you should take a look at using fieldsets
S Mar 20, 2017 at 14:19 history suggested benahm CC BY-SA 3.0
type correct
Mar 20, 2017 at 14:16 review Suggested edits
S Mar 20, 2017 at 14:19
Mar 20, 2017 at 14:11 comment added Martin Lezer Visualforce provides the apex:inputField dedicated to this.
Mar 20, 2017 at 14:10 history asked vetal_king CC BY-SA 3.0