- Naveen Kannoju02547126464965992
- NEWBIE
- 50 Points
- Member since 2014
-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
0Likes Given
-
9Questions
-
12Replies
sort the record based on field name in data table
cloud you please give me help for this Question
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
- Naveen Kannoju02547126464965992
- December 10, 2014
- Like
- 1
- Continue reading or reply
lightning component code
I want to learn lightning component
please give me some example code for this but not hello world code .
along with steps for execution code
Thanks
Naveen
please give me some example code for this but not hello world code .
along with steps for execution code
Thanks
Naveen
- Naveen Kannoju02547126464965992
- December 05, 2014
- Like
- 0
- Continue reading or reply
component
please help me
What is Component ,where to use,how to create
please give me total explaination about the component.
Thanks,
Naveen
What is Component ,where to use,how to create
please give me total explaination about the component.
Thanks,
Naveen
- Naveen Kannoju02547126464965992
- November 28, 2014
- Like
- 0
- Continue reading or reply
could you please explain about the http/rest and soap based callouts
cloud you please explain about the http/rest based and soap based callouts ,what is difference between http/rest and soap based callouts
when to use which is better to choose .
when to use which is better to choose .
- Naveen Kannoju02547126464965992
- November 26, 2014
- Like
- 0
- Continue reading or reply
what is opportunity line item ,
Hi...
What is Opportunity line item ,what is use of this ,what relationship is there in between product and pricebook2 and opportunity line item.
give me simple solution for above questions .and already i saw the some pdf's but i cann't understanding that.
please give me help for this.
Thanks
Naveen
What is Opportunity line item ,what is use of this ,what relationship is there in between product and pricebook2 and opportunity line item.
give me simple solution for above questions .and already i saw the some pdf's but i cann't understanding that.
please give me help for this.
Thanks
Naveen
- Naveen Kannoju02547126464965992
- November 11, 2014
- Like
- 0
- Continue reading or reply
write a test class for this Trigger,
please give help for this.
trigger countOnContact on Contact(after insert, after delete)
{
Set<id> accid=new Set<id>();
List<Contact> conlist=new List<Contact>();
List<Contact> listcon=new List<Contact>();
List<Account> acclist=new List<Account>();
List<Account> listacc=new List<Account>();
Map<id ,integer> mapCount=new Map<id,integer>();
if(trigger.isInsert)
{
for(Contact con:trigger.new)
{
accid.add(con.Accountid);
}
}
if(trigger.isdelete)
{
for(Contact con:trigger.old)
{
accid.add(con.Accountid);
}
}
acclist=[select id,name from Account where id in:accid];
conlist=[select id,name, accountid from Contact where accountid in:accid];
for(Account acc:acclist)
{
listcon.clear();
for(contact c: conlist)
{
if(c.accountid==acc.id)
{
listcon.add(c);
mapCount.put(c.accountid,listcon.size());
}
}
}
if(acclist.size()>0)
{
for(Account a: acclist)
{
if(mapCount.get(a.id)==null)
a.CountOfContacts__c=0;
else
a.CountOfContacts__c=mapCount.get(a.id);
listacc.add(a);
}
if(listacc.size()>0)
update listacc;
}
}
Thanks
Naveen
trigger countOnContact on Contact(after insert, after delete)
{
Set<id> accid=new Set<id>();
List<Contact> conlist=new List<Contact>();
List<Contact> listcon=new List<Contact>();
List<Account> acclist=new List<Account>();
List<Account> listacc=new List<Account>();
Map<id ,integer> mapCount=new Map<id,integer>();
if(trigger.isInsert)
{
for(Contact con:trigger.new)
{
accid.add(con.Accountid);
}
}
if(trigger.isdelete)
{
for(Contact con:trigger.old)
{
accid.add(con.Accountid);
}
}
acclist=[select id,name from Account where id in:accid];
conlist=[select id,name, accountid from Contact where accountid in:accid];
for(Account acc:acclist)
{
listcon.clear();
for(contact c: conlist)
{
if(c.accountid==acc.id)
{
listcon.add(c);
mapCount.put(c.accountid,listcon.size());
}
}
}
if(acclist.size()>0)
{
for(Account a: acclist)
{
if(mapCount.get(a.id)==null)
a.CountOfContacts__c=0;
else
a.CountOfContacts__c=mapCount.get(a.id);
listacc.add(a);
}
if(listacc.size()>0)
update listacc;
}
}
Thanks
Naveen
- Naveen Kannoju02547126464965992
- November 07, 2014
- Like
- 0
- Continue reading or reply
sales cloud and service cloud
Tomorrow i will have to attended the interview on this topics sales cloud and service cloud.
please help me what type of questions they will be asking and how can i handle the interview .
Thanks ,
Naveen
please help me what type of questions they will be asking and how can i handle the interview .
Thanks ,
Naveen
- Naveen Kannoju02547126464965992
- November 03, 2014
- Like
- 0
- Continue reading or reply
What is test class ,how to write a test class for apex and Triggers in salesforce
what is test class and how to write a test classes for Apex and Trigger in salesforce?
please give me deep Explanation about on it.
Thanks,
Naveen
please give me deep Explanation about on it.
Thanks,
Naveen
- Naveen Kannoju02547126464965992
- November 02, 2014
- Like
- 0
- Continue reading or reply
sort the record based on field name in data table
cloud you please give me help for this Question
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
- Naveen Kannoju02547126464965992
- December 10, 2014
- Like
- 1
- Continue reading or reply
sort the record based on field name in data table
cloud you please give me help for this Question
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
I retrive the data from account(using custom controller) object and display that data in datatable(vf) format this one is good.
but here column name for example: name,industry,type,rating.
here whenever i click the name or industry ior any other field name I want to display sort order depending on that field.
Thanks
Naveen
- Naveen Kannoju02547126464965992
- December 10, 2014
- Like
- 1
- Continue reading or reply
could you please explain about the http/rest and soap based callouts
cloud you please explain about the http/rest based and soap based callouts ,what is difference between http/rest and soap based callouts
when to use which is better to choose .
when to use which is better to choose .
- Naveen Kannoju02547126464965992
- November 26, 2014
- Like
- 0
- Continue reading or reply
what is opportunity line item ,
Hi...
What is Opportunity line item ,what is use of this ,what relationship is there in between product and pricebook2 and opportunity line item.
give me simple solution for above questions .and already i saw the some pdf's but i cann't understanding that.
please give me help for this.
Thanks
Naveen
What is Opportunity line item ,what is use of this ,what relationship is there in between product and pricebook2 and opportunity line item.
give me simple solution for above questions .and already i saw the some pdf's but i cann't understanding that.
please give me help for this.
Thanks
Naveen
- Naveen Kannoju02547126464965992
- November 11, 2014
- Like
- 0
- Continue reading or reply
write a test class for this Trigger,
please give help for this.
trigger countOnContact on Contact(after insert, after delete)
{
Set<id> accid=new Set<id>();
List<Contact> conlist=new List<Contact>();
List<Contact> listcon=new List<Contact>();
List<Account> acclist=new List<Account>();
List<Account> listacc=new List<Account>();
Map<id ,integer> mapCount=new Map<id,integer>();
if(trigger.isInsert)
{
for(Contact con:trigger.new)
{
accid.add(con.Accountid);
}
}
if(trigger.isdelete)
{
for(Contact con:trigger.old)
{
accid.add(con.Accountid);
}
}
acclist=[select id,name from Account where id in:accid];
conlist=[select id,name, accountid from Contact where accountid in:accid];
for(Account acc:acclist)
{
listcon.clear();
for(contact c: conlist)
{
if(c.accountid==acc.id)
{
listcon.add(c);
mapCount.put(c.accountid,listcon.size());
}
}
}
if(acclist.size()>0)
{
for(Account a: acclist)
{
if(mapCount.get(a.id)==null)
a.CountOfContacts__c=0;
else
a.CountOfContacts__c=mapCount.get(a.id);
listacc.add(a);
}
if(listacc.size()>0)
update listacc;
}
}
Thanks
Naveen
trigger countOnContact on Contact(after insert, after delete)
{
Set<id> accid=new Set<id>();
List<Contact> conlist=new List<Contact>();
List<Contact> listcon=new List<Contact>();
List<Account> acclist=new List<Account>();
List<Account> listacc=new List<Account>();
Map<id ,integer> mapCount=new Map<id,integer>();
if(trigger.isInsert)
{
for(Contact con:trigger.new)
{
accid.add(con.Accountid);
}
}
if(trigger.isdelete)
{
for(Contact con:trigger.old)
{
accid.add(con.Accountid);
}
}
acclist=[select id,name from Account where id in:accid];
conlist=[select id,name, accountid from Contact where accountid in:accid];
for(Account acc:acclist)
{
listcon.clear();
for(contact c: conlist)
{
if(c.accountid==acc.id)
{
listcon.add(c);
mapCount.put(c.accountid,listcon.size());
}
}
}
if(acclist.size()>0)
{
for(Account a: acclist)
{
if(mapCount.get(a.id)==null)
a.CountOfContacts__c=0;
else
a.CountOfContacts__c=mapCount.get(a.id);
listacc.add(a);
}
if(listacc.size()>0)
update listacc;
}
}
Thanks
Naveen
- Naveen Kannoju02547126464965992
- November 07, 2014
- Like
- 0
- Continue reading or reply
Mass Edit error
When creating a list view with one of the filter criteria "State = ____" (blank/no value) I get the following error when I click the mass edit button.
core.apexpages.exceptions.ApexPagesHandledException: Object type not accessible. Please check permissions and make sure the object is not in development mode: and (State != null)) AND (id IN ^ ERROR at Row:2:Column:6 No such column 'State on entity 'Account'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
Is there any way to around this?
- Rung41
- November 04, 2014
- Like
- 0
- Continue reading or reply
sales cloud and service cloud
Tomorrow i will have to attended the interview on this topics sales cloud and service cloud.
please help me what type of questions they will be asking and how can i handle the interview .
Thanks ,
Naveen
please help me what type of questions they will be asking and how can i handle the interview .
Thanks ,
Naveen
- Naveen Kannoju02547126464965992
- November 03, 2014
- Like
- 0
- Continue reading or reply
What is test class ,how to write a test class for apex and Triggers in salesforce
what is test class and how to write a test classes for Apex and Trigger in salesforce?
please give me deep Explanation about on it.
Thanks,
Naveen
please give me deep Explanation about on it.
Thanks,
Naveen
- Naveen Kannoju02547126464965992
- November 02, 2014
- Like
- 0
- Continue reading or reply