Skip to main content
Tweeted twitter.com/StackSalesforce/status/657797309300887552
formatted
Source Link
highfive
  • 6.3k
  • 3
  • 32
  • 58

I have a list of sObject which get populated dynamically all the objects and the related fields. The list look like this on debug

(Contact:{OtherCountry=, Division_Type__c=}, Account:{AccountNumber=})

(Contact:{OtherCountry=, Division_Type__c=}, Account:{AccountNumber=})

I want to loop through the list of contact and Account. Eg
E.g. : if loop through contact then get all the fields related to it and display as inputfield<inputfield /> on VF page. Do anyone have any idea.

I have a list of sObject which get populated dynamically all the objects and the related fields. The list look like this on debug

(Contact:{OtherCountry=, Division_Type__c=}, Account:{AccountNumber=})

I want to loop through the list of contact and Account. Eg: if loop through contact then get all the fields related to it and display as inputfield on VF page. Do anyone have any idea.

I have a list of sObject which get populated dynamically all the objects and the related fields. The list look like this on debug

(Contact:{OtherCountry=, Division_Type__c=}, Account:{AccountNumber=})

I want to loop through the list of contact and Account.
E.g. : if loop through contact then get all the fields related to it and display as <inputfield /> on VF page. Do anyone have any idea.

Source Link
Anu
  • 3.9k
  • 17
  • 78
  • 136

how to loop through a list of sObject and field on VF page

I have a list of sObject which get populated dynamically all the objects and the related fields. The list look like this on debug

(Contact:{OtherCountry=, Division_Type__c=}, Account:{AccountNumber=})

I want to loop through the list of contact and Account. Eg: if loop through contact then get all the fields related to it and display as inputfield on VF page. Do anyone have any idea.