function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srvas137srvas137 

display all organization objects and all fields and their all values in visualforce page

if u select account

 

all fields and their all values in a pageblocktable

 

 

like this format:

 

id  name   type    description  indurstry  site   phone accountnumber ownerid   fax .......................soon all fields

0019000000DNnun   srvas hot  des indur www  123 321   0019000000DNnun.................respective field values

0019000000DNnun   srvas hot  des indur www  123 321   0019000000DNnun..................

0019000000DNnun   srvas hot  des indur www  123 321   0019000000DNnun.........................

 

like display all object records

 

 

please kindly answer this question

 

 

 

phone
accountsource
jigsaw
billingstate
parentid
billingcountry
type
lastactivitydate
createdbyid
lastmodifieddate
id
customerpriority__c
description
billingcity
sla__c
shippingstreet
name
isdeleted
accountnumber
no_of_contacts__c
systemmodstamp
industry
site
numberoflocations__c
sic
fax
tickersymbol
website
masterrecordid
shippingcity
shippingcountry
billingpostalcode
shippingstate
annualrevenue
jigsawcompanyid
JitendraJitendra

Try below code:

 

please correct the AOI name of the fields and consider variable "accList" is populated by the Controller

 

<apex:datatable styleClass="collapseBorder"  value="{!accList}" var="childrec" >
	<apex:column headervalue="phone">
		<apex:outputtext value="{!phone__c}" />                            
	</apex:column>
	
	<apex:column headervalue="accountsource">
		<apex:outputtext value="{!accountsource__c}" />                            
	</apex:column>
	
	<apex:column headervalue="jigsaw">
		<apex:outputtext value="{!jigsaw__c}" />                            
	</apex:column>
	
	<apex:column headervalue="billingstate">
		<apex:outputtext value="{!billingstate__c}" />                            
	</apex:column>
	
	<!-- And SO ON - -->
</apex:datatable>

 

srvas137srvas137

display organization all objects and objec fields and their values in visualforce page without using soql queries

 

fields in one row

respective field values another row