-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
14Questions
-
13Replies
-
- sekhar 131
- June 07, 2021
- Like
- 0
- Continue reading or reply
How to create custom login page in lightning
How to create custom loging page in lightning
-
- sekhar 131
- September 27, 2019
- Like
- 0
- Continue reading or reply
how to created a account and i have saved the record the saved record it must be directly displayed in search functionality in lightning
-
- sekhar 131
- May 15, 2019
- Like
- 0
- Continue reading or reply
How to Convert standed account page into custom page in lightning
How to Convert standed account page into custom page in lightning
-
- sekhar 131
- April 26, 2019
- Like
- 0
- Continue reading or reply
how to send verification code to email using jquery
how to send verification code to email using jquery
-
- sekhar 131
- April 25, 2019
- Like
- 0
- Continue reading or reply
-
- sekhar 131
- April 25, 2019
- Like
- 0
- Continue reading or reply
how to create Save and New Button in Lightning Component
how to create Save and New Button in Lightning Component
hi
Please help me
hi
Please help me
-
- sekhar 131
- April 24, 2019
- Like
- 0
- Continue reading or reply
how to mandatory fields error throw message in the field side
this image see the top of errors using apex message
my requirement below the image fiield error message
-
- sekhar 131
- April 03, 2019
- Like
- 0
- Continue reading or reply
how to throw the error message in field side
Hi
How to throw the Error message in field side and manidatry field also throw the error message one by one field.
not error throw message in top and botume
example image
How to throw the Error message in field side and manidatry field also throw the error message one by one field.
not error throw message in top and botume
example image
-
- sekhar 131
- April 02, 2019
- Like
- 0
- Continue reading or reply
Insert failed. First exception on row 0 with id a0B7F00001XVu7RUAT; first error: INVALID_FIELD_FOR_INSERT_UPDATE, cannot specify Id in an insert call: [Id]
Please solve this error message
-
- sekhar 131
- March 25, 2019
- Like
- 0
- Continue reading or reply
How to Display the date Field fronted error message in visualforce
How to Display the date Field fronted error message in visualforce
Date Field is select the future date throw error message
Date Field is select the future date throw error message
-
- sekhar 131
- March 25, 2019
- Like
- 0
- Continue reading or reply
Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Enter the Year of Passing: []
hi
this my error in backend and this error message dispaly the frented message.
how to dispaly the frented message
Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Enter the Year of Passing: []
this my error in backend and this error message dispaly the frented message.
how to dispaly the frented message
Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Enter the Year of Passing: []
-
- sekhar 131
- March 25, 2019
- Like
- 0
- Continue reading or reply
Visualforce Error :Attempt to de-reference a null object
Visualforce Error :Attempt to de-reference a null object
line no in 27 apex page
Can any one help me out with this Error .I'm getting
my Task- I want a customized report on Lead owners and their Activities count.
code
class
public class ActiveHistoryClass
{
public list<wrapper> wrap{set;get;}
public set<id> setr1{get;set;}
public map<string,list<wrapper>> ma {set;get;}
public AggregateResult[] numTasks{set;get;}
public List<User> userinfo{get;set;}
public ActiveHistoryClass()
{
userinfo=[select id,name from User];
setr1=new set<Id>();
for(User usr:userinfo)
{
setr1.add(usr.id);
}
numTasks =[select Owner.name owner,Status sta,Activity_type__c active,count(id) coun from Task GROUP BY Owner.name,Status,Activity_type__c];
wrap = new List<wrapper>();
System.debug('The Aggregate value is'+numTasks);
for(AggregateResult ar:numTasks)
{
// wrap.add(new wrapper(ar.get('owner')),(ar.get('sta')),(ar.get('active')),(ar.get('coun')));
wrap.add(new wrapper(ar));
system.debug('wrap'+wrap);
ma.put((string)ar.get('owner'),wrap);
// system.debug('ma'+ar);
setr1.add(ar.id);
system.debug('setr1'+ar.Id);
}
System.debug('The map value is'+ma);
}
public class wrapper {
public integer coun{get;set;}
public String owner{get;set;}
public String sta{get;set;}
public String active{get;set;}
public string oname{set;get;}
public wrapper(AggregateResult ar)
{
owner = (String) ar.get('owner');
sta = (String) ar.get('sta');
active = (String) ar.get('active');
coun=(integer) ar.get('coun');
this.oname=owner;
}
}
}
vf page
<apex:page controller="ActiveHistoryClass" >
<style>
table {
font-family: arial, sans-serif; border-collapse: collapse; width: 100%;padding: 10px;
}
td, th {
border: 1px solid #dddddd;text-align: left;padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<apex:form >
<apex:pageBlock >
<!--- <apex:pageBlockTable>---->
<body>
<table>
<thead>
<tr>
<th>Lead.name</th>
<th>Status</th>
<th>Ativity Type</th>
<th>Count</th>
</tr>
</thead>
<apex:repeat value="{!setr1}" var="ownerids">
<!---<tr>
<td>{!ownerids.owner}</td>
<td>{!ownerids.sta}</td>
<td>{!ownerids.active}</td>
<td>{!ownerids.coun}</td>
</tr> --->
<apex:repeat value="{!ma[ownerids]}" var="c">
<tbody>
<tr>
<td>{!c.owner}</td>
<td>{!c.sta}</td>
<td>{!c.active}</td>
<td>{!c.coun}</td>
</tr>
</tbody>
<!---<apex:column value="{!c.o}" headerValue="Lead.name" styleClass="padding: 13px;" style="font-family: arial, sans-serif; border-collapse: collapse; width: 30%;padding: 10px"/>
<apex:column value="{!c.s}" headerValue="Status"/>
<apex:column value="{!c.a}" headerValue="Ativity Type"/>
<apex:column value="{!c.ct}" headerValue="Count"/>---->
</apex:repeat>
</apex:repeat>
</table>
</body>
</apex:pageBlock>
</apex:form>
</apex:page>
please help me
line no in 27 apex page
Can any one help me out with this Error .I'm getting
my Task- I want a customized report on Lead owners and their Activities count.
code
class
public class ActiveHistoryClass
{
public list<wrapper> wrap{set;get;}
public set<id> setr1{get;set;}
public map<string,list<wrapper>> ma {set;get;}
public AggregateResult[] numTasks{set;get;}
public List<User> userinfo{get;set;}
public ActiveHistoryClass()
{
userinfo=[select id,name from User];
setr1=new set<Id>();
for(User usr:userinfo)
{
setr1.add(usr.id);
}
numTasks =[select Owner.name owner,Status sta,Activity_type__c active,count(id) coun from Task GROUP BY Owner.name,Status,Activity_type__c];
wrap = new List<wrapper>();
System.debug('The Aggregate value is'+numTasks);
for(AggregateResult ar:numTasks)
{
// wrap.add(new wrapper(ar.get('owner')),(ar.get('sta')),(ar.get('active')),(ar.get('coun')));
wrap.add(new wrapper(ar));
system.debug('wrap'+wrap);
ma.put((string)ar.get('owner'),wrap);
// system.debug('ma'+ar);
setr1.add(ar.id);
system.debug('setr1'+ar.Id);
}
System.debug('The map value is'+ma);
}
public class wrapper {
public integer coun{get;set;}
public String owner{get;set;}
public String sta{get;set;}
public String active{get;set;}
public string oname{set;get;}
public wrapper(AggregateResult ar)
{
owner = (String) ar.get('owner');
sta = (String) ar.get('sta');
active = (String) ar.get('active');
coun=(integer) ar.get('coun');
this.oname=owner;
}
}
}
vf page
<apex:page controller="ActiveHistoryClass" >
<style>
table {
font-family: arial, sans-serif; border-collapse: collapse; width: 100%;padding: 10px;
}
td, th {
border: 1px solid #dddddd;text-align: left;padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<apex:form >
<apex:pageBlock >
<!--- <apex:pageBlockTable>---->
<body>
<table>
<thead>
<tr>
<th>Lead.name</th>
<th>Status</th>
<th>Ativity Type</th>
<th>Count</th>
</tr>
</thead>
<apex:repeat value="{!setr1}" var="ownerids">
<!---<tr>
<td>{!ownerids.owner}</td>
<td>{!ownerids.sta}</td>
<td>{!ownerids.active}</td>
<td>{!ownerids.coun}</td>
</tr> --->
<apex:repeat value="{!ma[ownerids]}" var="c">
<tbody>
<tr>
<td>{!c.owner}</td>
<td>{!c.sta}</td>
<td>{!c.active}</td>
<td>{!c.coun}</td>
</tr>
</tbody>
<!---<apex:column value="{!c.o}" headerValue="Lead.name" styleClass="padding: 13px;" style="font-family: arial, sans-serif; border-collapse: collapse; width: 30%;padding: 10px"/>
<apex:column value="{!c.s}" headerValue="Status"/>
<apex:column value="{!c.a}" headerValue="Ativity Type"/>
<apex:column value="{!c.ct}" headerValue="Count"/>---->
</apex:repeat>
</apex:repeat>
</table>
</body>
</apex:pageBlock>
</apex:form>
</apex:page>
please help me
-
- sekhar 131
- December 05, 2018
- Like
- 0
- Continue reading or reply
How to Convert standed account page into custom page in lightning
How to Convert standed account page into custom page in lightning
- sekhar 131
- April 26, 2019
- Like
- 0
- Continue reading or reply
how to create Save and New Button in Lightning Component
how to create Save and New Button in Lightning Component
hi
Please help me
hi
Please help me
- sekhar 131
- April 24, 2019
- Like
- 0
- Continue reading or reply
how to mandatory fields error throw message in the field side
this image see the top of errors using apex message
my requirement below the image fiield error message
- sekhar 131
- April 03, 2019
- Like
- 0
- Continue reading or reply
how to throw the error message in field side
Hi
How to throw the Error message in field side and manidatry field also throw the error message one by one field.
not error throw message in top and botume
example image
How to throw the Error message in field side and manidatry field also throw the error message one by one field.
not error throw message in top and botume
example image
- sekhar 131
- April 02, 2019
- Like
- 0
- Continue reading or reply
How to Display the date Field fronted error message in visualforce
How to Display the date Field fronted error message in visualforce
Date Field is select the future date throw error message
Date Field is select the future date throw error message
- sekhar 131
- March 25, 2019
- Like
- 0
- Continue reading or reply
Visualforce Error :Attempt to de-reference a null object
Visualforce Error :Attempt to de-reference a null object
line no in 27 apex page
Can any one help me out with this Error .I'm getting
my Task- I want a customized report on Lead owners and their Activities count.
code
class
public class ActiveHistoryClass
{
public list<wrapper> wrap{set;get;}
public set<id> setr1{get;set;}
public map<string,list<wrapper>> ma {set;get;}
public AggregateResult[] numTasks{set;get;}
public List<User> userinfo{get;set;}
public ActiveHistoryClass()
{
userinfo=[select id,name from User];
setr1=new set<Id>();
for(User usr:userinfo)
{
setr1.add(usr.id);
}
numTasks =[select Owner.name owner,Status sta,Activity_type__c active,count(id) coun from Task GROUP BY Owner.name,Status,Activity_type__c];
wrap = new List<wrapper>();
System.debug('The Aggregate value is'+numTasks);
for(AggregateResult ar:numTasks)
{
// wrap.add(new wrapper(ar.get('owner')),(ar.get('sta')),(ar.get('active')),(ar.get('coun')));
wrap.add(new wrapper(ar));
system.debug('wrap'+wrap);
ma.put((string)ar.get('owner'),wrap);
// system.debug('ma'+ar);
setr1.add(ar.id);
system.debug('setr1'+ar.Id);
}
System.debug('The map value is'+ma);
}
public class wrapper {
public integer coun{get;set;}
public String owner{get;set;}
public String sta{get;set;}
public String active{get;set;}
public string oname{set;get;}
public wrapper(AggregateResult ar)
{
owner = (String) ar.get('owner');
sta = (String) ar.get('sta');
active = (String) ar.get('active');
coun=(integer) ar.get('coun');
this.oname=owner;
}
}
}
vf page
<apex:page controller="ActiveHistoryClass" >
<style>
table {
font-family: arial, sans-serif; border-collapse: collapse; width: 100%;padding: 10px;
}
td, th {
border: 1px solid #dddddd;text-align: left;padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<apex:form >
<apex:pageBlock >
<!--- <apex:pageBlockTable>---->
<body>
<table>
<thead>
<tr>
<th>Lead.name</th>
<th>Status</th>
<th>Ativity Type</th>
<th>Count</th>
</tr>
</thead>
<apex:repeat value="{!setr1}" var="ownerids">
<!---<tr>
<td>{!ownerids.owner}</td>
<td>{!ownerids.sta}</td>
<td>{!ownerids.active}</td>
<td>{!ownerids.coun}</td>
</tr> --->
<apex:repeat value="{!ma[ownerids]}" var="c">
<tbody>
<tr>
<td>{!c.owner}</td>
<td>{!c.sta}</td>
<td>{!c.active}</td>
<td>{!c.coun}</td>
</tr>
</tbody>
<!---<apex:column value="{!c.o}" headerValue="Lead.name" styleClass="padding: 13px;" style="font-family: arial, sans-serif; border-collapse: collapse; width: 30%;padding: 10px"/>
<apex:column value="{!c.s}" headerValue="Status"/>
<apex:column value="{!c.a}" headerValue="Ativity Type"/>
<apex:column value="{!c.ct}" headerValue="Count"/>---->
</apex:repeat>
</apex:repeat>
</table>
</body>
</apex:pageBlock>
</apex:form>
</apex:page>
please help me
line no in 27 apex page
Can any one help me out with this Error .I'm getting
my Task- I want a customized report on Lead owners and their Activities count.
code
class
public class ActiveHistoryClass
{
public list<wrapper> wrap{set;get;}
public set<id> setr1{get;set;}
public map<string,list<wrapper>> ma {set;get;}
public AggregateResult[] numTasks{set;get;}
public List<User> userinfo{get;set;}
public ActiveHistoryClass()
{
userinfo=[select id,name from User];
setr1=new set<Id>();
for(User usr:userinfo)
{
setr1.add(usr.id);
}
numTasks =[select Owner.name owner,Status sta,Activity_type__c active,count(id) coun from Task GROUP BY Owner.name,Status,Activity_type__c];
wrap = new List<wrapper>();
System.debug('The Aggregate value is'+numTasks);
for(AggregateResult ar:numTasks)
{
// wrap.add(new wrapper(ar.get('owner')),(ar.get('sta')),(ar.get('active')),(ar.get('coun')));
wrap.add(new wrapper(ar));
system.debug('wrap'+wrap);
ma.put((string)ar.get('owner'),wrap);
// system.debug('ma'+ar);
setr1.add(ar.id);
system.debug('setr1'+ar.Id);
}
System.debug('The map value is'+ma);
}
public class wrapper {
public integer coun{get;set;}
public String owner{get;set;}
public String sta{get;set;}
public String active{get;set;}
public string oname{set;get;}
public wrapper(AggregateResult ar)
{
owner = (String) ar.get('owner');
sta = (String) ar.get('sta');
active = (String) ar.get('active');
coun=(integer) ar.get('coun');
this.oname=owner;
}
}
}
vf page
<apex:page controller="ActiveHistoryClass" >
<style>
table {
font-family: arial, sans-serif; border-collapse: collapse; width: 100%;padding: 10px;
}
td, th {
border: 1px solid #dddddd;text-align: left;padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<apex:form >
<apex:pageBlock >
<!--- <apex:pageBlockTable>---->
<body>
<table>
<thead>
<tr>
<th>Lead.name</th>
<th>Status</th>
<th>Ativity Type</th>
<th>Count</th>
</tr>
</thead>
<apex:repeat value="{!setr1}" var="ownerids">
<!---<tr>
<td>{!ownerids.owner}</td>
<td>{!ownerids.sta}</td>
<td>{!ownerids.active}</td>
<td>{!ownerids.coun}</td>
</tr> --->
<apex:repeat value="{!ma[ownerids]}" var="c">
<tbody>
<tr>
<td>{!c.owner}</td>
<td>{!c.sta}</td>
<td>{!c.active}</td>
<td>{!c.coun}</td>
</tr>
</tbody>
<!---<apex:column value="{!c.o}" headerValue="Lead.name" styleClass="padding: 13px;" style="font-family: arial, sans-serif; border-collapse: collapse; width: 30%;padding: 10px"/>
<apex:column value="{!c.s}" headerValue="Status"/>
<apex:column value="{!c.a}" headerValue="Ativity Type"/>
<apex:column value="{!c.ct}" headerValue="Count"/>---->
</apex:repeat>
</apex:repeat>
</table>
</body>
</apex:pageBlock>
</apex:form>
</apex:page>
please help me
- sekhar 131
- December 05, 2018
- Like
- 0
- Continue reading or reply