• webners
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 9
    Replies

We are  making a visual page tto make report of type:

but it is throwing error  Error: Unknown property 'VisualforceArrayList.status__c'. so how to resolve this error.

Create a custom field in Contacts called Status - set value to blank, Ready and Static
Create a tabular report like this

No. of Empty Status Records    30
No. of Ready Status Records    15
No. of Static Status Records    25

contact Name        Count
A1                            8
A1                            6
A1                            15

 

our visualforce code is :

<apex:page controller="MyController" tabStyle="Contact" >
<apex:pageBlock title="Status">
<apex:form >
<apex:commandLink >
{! contact.status__c}
</apex:commandLink>
</apex:form>
</apex:pageBlock>
</apex:page>

 

 

controller code

public class MyController{
private final Contact contact;
public List<Contact> getcontact()
{
return[SELECT Name FROM Contact WHERE status__c = 'static'];
}

}

 

and how to show data in list format and count of records in front of it.

can we create a report of type 

we have created status a custom field in contacts 

which have options blank, Ready and Static;

 it shows of report data &colon;

No. of Empty Status Records    30
No. of Ready Status Records    15
No. of Static Status Records    25

 

 and on clicking on  static it shows underlying data.

We are  making a visual page tto make report of type:

but it is throwing error  Error: Unknown property 'VisualforceArrayList.status__c'. so how to resolve this error.

Create a custom field in Contacts called Status - set value to blank, Ready and Static
Create a tabular report like this

No. of Empty Status Records    30
No. of Ready Status Records    15
No. of Static Status Records    25

contact Name        Count
A1                            8
A1                            6
A1                            15

 

our visualforce code is :

<apex:page controller="MyController" tabStyle="Contact" >
<apex:pageBlock title="Status">
<apex:form >
<apex:commandLink >
{! contact.status__c}
</apex:commandLink>
</apex:form>
</apex:pageBlock>
</apex:page>

 

 

controller code

public class MyController{
private final Contact contact;
public List<Contact> getcontact()
{
return[SELECT Name FROM Contact WHERE status__c = 'static'];
}

}

 

and how to show data in list format and count of records in front of it.

can we create a report of type 

we have created status a custom field in contacts 

which have options blank, Ready and Static;

 it shows of report data &colon;

No. of Empty Status Records    30
No. of Ready Status Records    15
No. of Static Status Records    25

 

 and on clicking on  static it shows underlying data.

while am trying to change this vf page to controller am getting this error

 

<apex:page controller="MyController" tabStyle="Account">
<apex:form>
<apex:pageBlock title="Hello {!$User.FirstName}!">
You are viewing the {!account.name} account. <p/>
Change Account Name: <p/>
<apex:inputField value="{!account.name}"/> <p/>
<apex:commandButton action="{!save}" value="Save New Account Name"/>
</apex:pageBlock>
</apex:form>
</apex:page>

 

please give me the solution