Forcetalks | Raghav Chaturvedi | Activity https://www.forcetalks.com/raghav-chaturvedi/activity/ Activity feed for Raghav Chaturvedi. Fri, 06 Feb 2026 21:51:49 +0530 https://buddypress.org/?v=2.16.0 en-US 30 hourly 2 0de8ca190835f3c7c29cc005f6af603d Raghav Chaturvedi started the discussion My component is not working in Update in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/my-component-is-not-working-in-update/ Tue, 11 Sep 2018 09:34:31 +0530 My component is not working in Update

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" controller="AccountSearchController">
<aura:attribute name="searchKeyword" type="String" default=""/>
<aura:attribute name="lstOfAccount" type="Account[]"/>
<aura:attribute name="listcontact" type="Contact[]"/>
<aura:attribute… Read more

]]>
8e5ccb96189c3fbd9f3c1aaed00ac311 Raghav Chaturvedi started the discussion Why selected contact not showing in EmailDetail page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/page-is-not-working/ Wed, 06 Jun 2018 05:19:24 +0530 Why selected contact not showing in EmailDetail page?

In my page after selecting sendEmail Button,My page is redirecting to EmailDetail page
But In EmailDetail page selected contact is not showing.
Here is code
<apex:page controller="SearchRecords" showHeader="false" sidebar="false" >
<apex:form id="frm">
<apex:pageblock >
<apex:pageBlockSection title="Search Account Records"… Read more

]]>
2a35acc74d74c64ab5d0460bc7b5a28f Raghav Chaturvedi started the discussion Salesforce Trigger is not working, anyone help me with this code in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/trigger-is-not-workingany-one-help-me-within-this-code/ Thu, 10 May 2018 10:48:00 +0530 Salesforce Trigger is not working, anyone help me with this code

Create object : Condidate__c
Fields : (All Text fields)
First Name
Last Name
Email
Brokerage
Manage Brokerage
Condidate Status (Webinar - Attended , Webinar -Not Attended)
User Created ( checkbox)
On insert:
1. Create Account if Brokerage !=null
2. Create another account if Manage Brokerage != null and set parentId = Brokerage account id… Read more

]]>
59e94a287b1ce32c2cb1c2bb60b26b08 Raghav Chaturvedi replied to the discussion How to return and show the list of all Account Names using a Custom Controller in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/i-have-a-button-accountsnamei-want-when-i-click-on-the-buttonthe-list-of-all-account-name-will-ret/#post-27908 Thu, 26 Apr 2018 11:23:46 +0530 Reply to How to return and show the list of all Account Names using a Custom Controller in Salesforce?

thanks

]]>
f7e5c2db38a6045165e21d34844d201e Raghav Chaturvedi started the discussion How to return and show the list of all Account Names using a Custom Controller in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/i-have-a-button-accountsnamei-want-when-i-click-on-the-buttonthe-list-of-all-account-name-will-ret/ Wed, 25 Apr 2018 12:33:26 +0530 How to return and show the list of all Account Names using a Custom Controller in Salesforce?

I have a button accountsName,i want when i click on the button,the list of all account name will return and show all account name with custom controller

]]>
dfa7606171367d0ebac867f660dfe282 Raghav Chaturvedi replied to the discussion Test is not going inside "trigger.new" while testing Salesforce Trigger in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/test-is-not-going-inside-trigger-new/#post-27756 Tue, 24 Apr 2018 06:20:05 +0530 Reply to Test is not going inside "trigger.new" while testing Salesforce Trigger

thanks

]]>
82dfaa15d09e93adb8629fe8c0ab32c3 Raghav Chaturvedi replied to the discussion How to display names of Contact & Opportunity related to an Account in a Visualforce Page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-display-names-of-contact-amp-opportunity-related-to-an-account-in-a-visualforce-page/#post-27755 Tue, 24 Apr 2018 06:19:09 +0530 Reply to How to display names of Contact & Opportunity related to an Account in a Visualforce Page?

<apex:page controller="AccountContactOpportunity">
<apex:form >
<apex:pageBlock title="Account Name">
<apex:selectList value="{!AccId}" size="1">
<apex:selectOptions value="{!AccountNames}"/>
<apex:actionSupport event="onchange" action="{!showContact}" reRender="co,co1"/>
</apex:selectList>
<apex:pageBlock title="Opportunity list"… Read more

]]>
b923010bedad11e95faea1b439037ef6 Raghav Chaturvedi replied to the discussion How to display names of Contact & Opportunity related to an Account in a Visualforce Page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-display-names-of-contact-amp-opportunity-related-to-an-account-in-a-visualforce-page/#post-27751 Tue, 24 Apr 2018 05:19:28 +0530 Reply to How to display names of Contact & Opportunity related to an Account in a Visualforce Page?

]]>
1629a11ba2e30f0bfe8e7bc463dff7a6 Raghav Chaturvedi replied to the discussion Test is not going inside "trigger.new" while testing Salesforce Trigger in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/test-is-not-going-inside-trigger-new/#post-27749 Tue, 24 Apr 2018 04:14:37 +0530 Reply to Test is not going inside "trigger.new" while testing Salesforce Trigger

I have studied that using (SeeAlldata=true)  is not a best practice

]]>
618da26dd88ec538e176e5a30316dcc9 Raghav Chaturvedi replied to the discussion Test is not going inside "trigger.new" while testing Salesforce Trigger in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/test-is-not-going-inside-trigger-new/#post-27742 Mon, 23 Apr 2018 12:45:21 +0530 Reply to Test is not going inside "trigger.new" while testing Salesforce Trigger

I tried with inserting standard pricebook but there is no effect.

can you reply with code

]]>
a6841466e8754dfbebea9372e5ab36a7 Raghav Chaturvedi started the discussion Test is not going inside "trigger.new" while testing Salesforce Trigger in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/test-is-not-going-inside-trigger-new/ Mon, 23 Apr 2018 04:26:15 +0530 Test is not going inside "trigger.new" while testing Salesforce Trigger

In my trigger testing the test is not going inside if trigger.new
trigger Setpricebookentry1 on Product2 (after insert)
{
Set<ID> prodIdSet = Trigger.newMap.keySet();
list<Pricebookentry> listpbe=new list<Pricebookentry>();
Pricebook2 prbook=[select id from Pricebook2 where isStandard=true… Read more

]]>
3c44e16b3e863b9a9c329f5055d84641 Raghav Chaturvedi started the discussion I want that only my contact section will refresh when i click on delete button in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/i-want-that-only-my-contact-section-will-refresh-when-i-click-on-delete-button/ Wed, 11 Apr 2018 14:43:01 +0530 I want that only my contact section will refresh when i click on delete button

<apex:page controller="AccountWithConPicklist" sidebar="false">
<apex:form >
<apex:pageBlock title="Account Name">
Account Names
<apex:selectList value="{!AccId}" size="1">
<apex:selectOptions value="{!AccountNames}"/>
<apex:actionSupport event="onchange" reRender="a" action="{!showContact}"/>
</apex:selectList>
<apex:pageBlock… Read more

]]>
cfc7dc3b32186b1d1713a966ba7251be Raghav Chaturvedi and Suraj are now connected https://www.forcetalks.com/activity/p/28318/ Tue, 09 Jan 2018 10:02:07 +0530 0 aa22c8a6d0c7fa5201bbf3c0f0206ca1 Raghav Chaturvedi started the discussion How to create a master detail relationship for account and contact with Salesforce Visualforce page? in the forum https://www.forcetalks.com/salesforce-topic/vf-page-5/ Thu, 23 Nov 2017 13:37:45 +0530 How to create a master detail relationship for account and contact with Salesforce Visualforce page?

Create a master detail  relationship for account and contact  with vf page. when you click on account related contact will display

]]>
70c8ebc138e83d9114201a078f4efdb5 Raghav Chaturvedi changed their profile photo https://www.forcetalks.com/activity/p/19148/ Wed, 20 Sep 2017 00:46:12 +0530 0 79808de81706e0fdf01b54cdd9c90b4e Raghav Chaturvedi started the discussion What is Salesforce visualforce components and what is the use in Visualforce pages? in the forum Salesforce Groups https://www.forcetalks.com/salesforce-topic/visualforce-components/ Tue, 22 Aug 2017 03:08:20 +0530 What is Salesforce visualforce components and what is the use in Visualforce pages?

What is visualforce components and what is the use in VF pageses

]]>
21cae312f200c95c2c235ab25f11b554 Raghav Chaturvedi and Neha are now connected https://www.forcetalks.com/activity/p/18853/ Sat, 19 Aug 2017 09:04:03 +0530 0 fb785f620165ce1027f2664f6d9fcda4 Raghav Chaturvedi started the discussion In interview i face questions apex with related with java.so does any one have notes or related links? in the forum https://www.forcetalks.com/salesforce-topic/in-interview-i-face-questions-apex-with-related-with-java-so-in-any-one-have-notes-or-related-links/ Mon, 14 Aug 2017 10:05:18 +0530 In interview i face questions apex with related with java.so does any one have notes or related links?

In interview i face questions apex with related with java.so in this direction any one have notes or related links plz provide me here or amuraghav14@gmail.com

]]>
22539671e82a4f4455321f994abdfda4 Raghav Chaturvedi started the discussion By Map count all contact related to Account and,store contacts into a list.Do't use trigger in the forum https://www.forcetalks.com/salesforce-topic/by-map-count-all-contact-related-to-account-andstore-contacts-into-a-list-dot-use-trigger/ Mon, 07 Aug 2017 10:14:39 +0530 By Map count all contact related to Account and,store contacts into a list.Do't use trigger

By Map count all contact related to Account and,store contacts into a list.Do't use trigger

]]>
978afd1a6e5258878687a737af796e16 Raghav Chaturvedi replied to the discussion How to prevent user to delete an account with an Opportunity in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-prevent-user-to-delete-an-account-with-opportunity/#post-21271 Thu, 27 Jul 2017 04:27:56 +0530 Reply to How to prevent user to delete an account with an Opportunity in Salesforce?

trigger DeleteAccountOpportunity1 on Account (before delete)
{
List Opp = [Select accountID from opportunity where accountid in :TRIGGER.OLD];
for(Account a : Trigger.OLD)
{
for(Opportunity o : Opp)
{
if(a.id == o.accountId)
{
a.addError('Account have Opportunity ,so you can not delete… Read more

]]>
2b1227662a0ee6e0a594e206de4157af Raghav Chaturvedi started the discussion in the forum https://www.forcetalks.com/salesforce-topic/what-are-the-change-made-from-39-version-to-40-version-in-salesforce/ Wed, 19 Jul 2017 05:19:51 +0530 What are the change made from 39 version to 40 version in Salesforce?

]]>
49ed5610d9b1bccfc7f4c5acc05eeb9f Raghav Chaturvedi started the discussion How to change the value of formula field by Salesforce Visualforce page? in the forum https://www.forcetalks.com/salesforce-topic/%e2%80%a2how-to-change-the-value-of-formula-field-by-your-vf-page/ Tue, 18 Jul 2017 03:29:11 +0530 How to change the value of formula field by Salesforce Visualforce page?

• How to change the value of formula field by your vf page.

]]>
ca721ec0ce34aad6503c33e551555334 Raghav Chaturvedi started the discussion What is grant access in Salesforce? in the forum https://www.forcetalks.com/salesforce-topic/%e2%80%a2what-is-grant-access-in-salesforce/ Mon, 17 Jul 2017 15:41:41 +0530 What is grant access in Salesforce?

• What is grant access in salesforce

]]>
18578049e6f3e983a06c7a24f116b6f0 Raghav Chaturvedi started the discussion What is sharing class in Salesforce? in the forum https://www.forcetalks.com/salesforce-topic/%e2%80%a2what-is-sharing-class-in-salesforce/ Mon, 17 Jul 2017 15:37:41 +0530 What is sharing class in Salesforce?

• What is sharing class in salesforce

]]>
fb12072f13d0242aba3d9459ddc2fda7 Raghav Chaturvedi replied to the discussion What are difference between lookup and fast lookup data elements in flow? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-are-difference-between-lookup-and-fast-lookup-data-elements-in-flow-2/#post-21049 Mon, 17 Jul 2017 14:57:43 +0530 Reply to What are difference between lookup and fast lookup data elements in flow?

Hello Saloni

Lookup record will return only first matching record. If you want to get all matching record, you should use Fast Lookup. In the fast lookup it will show all the record with given prefix

]]>
9fd64aa72989f02b114e6c0f2c5f8d63 Raghav Chaturvedi replied to the discussion Salesforce - What is Starting Number in Auto Number DataType? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-starting-number-in-auto-number-datatype/#post-21048 Mon, 17 Jul 2017 14:54:19 +0530 Reply to Salesforce - What is Starting Number in Auto Number DataType?

It's given in the data type.first u define the data type (Ex-001 for account A-001).if you understand give the comment

]]>
296e3d497fea2e754c59cce0d624647a Raghav Chaturvedi replied to the discussion How to add last name of contact to its related account's name, when any contact field is updated using triggers? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-add-last-name-of-contact-to-its-related-accounts-name-when-any-contact-field-is-updated-using-triggers/#post-21033 Mon, 17 Jul 2017 12:47:35 +0530 Reply to How to add last name of contact to its related account's name, when any contact field is updated using triggers?

you serach this question on my profile

]]>
3db0674dbf3a7239ce957ef786471787 Raghav Chaturvedi replied to the discussion How to write a Salesforce trigger for below given scenario? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-write-a-trigger-for-below-given-scenario/#post-20956 Thu, 13 Jul 2017 14:40:34 +0530 Reply to How to write a Salesforce trigger for below given scenario?

trigger concatinat on Contact (after insert,after update)
{
List accList = new List();
set S = new Set();
for(contact con : Trigger.new)
{
S.add(con.accountid);
}
Map mv = new Map([SELECT id,name
FROM account WHERE Id IN : S]);

for(contact cont… Read more

]]>
3880773ed716a9208918f9f219bd6b6c Raghav Chaturvedi started the discussion Write a trigger on account to store mutiple phone number values in phone number field and splitting those values into three different fields. in the forum https://www.forcetalks.com/salesforce-topic/write-a-trigger-on-account-to-store-mutiple-phone-number-values-in-phone-number-field-and-splitting-those-values-into-three-different-fields/ Thu, 13 Jul 2017 14:05:48 +0530 Write a trigger on account to store mutiple phone number values in phone number field and splitting those values into three different fields.

Write a trigger on account to store mutiple phone number values in phone number field and splitting those values into three different fields.

]]>
46abdc0226cf86365f24c9380a70af7a Raghav Chaturvedi replied to the discussion How can we count number of contacts associated with accounts? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-count-number-of-contacts-associated-with-accounts/#post-20940 Thu, 13 Jul 2017 13:10:34 +0530 Reply to How can we count number of contacts associated with accounts?

trigger london1 on Contact (after insert,after delete) {

list li=new list();
if(trigger.isInsert)
{
for(contact c:trigger.new)
{
li.add(c.AccountId);
}

list con=[select name,(select id from contacts) from account where id in:li];
for(account acc:con)
{
Read more

]]>
004b0ada803d3d564fdff756a1996097 Raghav Chaturvedi and Radhakrishna are now connected https://www.forcetalks.com/activity/p/18145/ Thu, 13 Jul 2017 09:28:47 +0530 0 c3cee4e702217deaf66db0217e6d19f3 Raghav Chaturvedi started the discussion What are the change made from 39 version to 40 version in Salesforce? in the forum https://www.forcetalks.com/salesforce-topic/what-are-the-change-made-from-39-version-to-40-version/ Wed, 12 Jul 2017 08:39:27 +0530 What are the change made from 39 version to 40 version in Salesforce?

What are the change made from 39 version to 40 version

]]>
280621d8dfca41991f6969e21a6b41a4 Raghav Chaturvedi and Sudhir are now connected https://www.forcetalks.com/activity/p/18113/ Wed, 12 Jul 2017 08:33:56 +0530 0 44d184ebe8ca9f678f2206165362558d Raghav Chaturvedi replied to the discussion What is difference between Lightning button () and ui button() in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-difference-between-lightning-button-and-ui-button/#post-20901 Wed, 12 Jul 2017 08:31:45 +0530 Reply to What is difference between Lightning button () and ui button()

If you go thru the Lightning base components release notes, you will notice that the Base components are more of an extended implementation of the existing UI components.

here's an extract of the related section

You can find base Lightning components in the lightning namespace to complement the existing ui namespace components. In… Read more

]]>
1df4359596f104f12f6d491ac1eebb82 Raghav Chaturvedi and saloni gupta are now connected https://www.forcetalks.com/activity/p/18111/ Wed, 12 Jul 2017 08:31:23 +0530 0 536658505745e00792af803452eaadcb Raghav Chaturvedi replied to the discussion As a beginner ,which are should we focus to get a job (either as an admin or as a developer)? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/as-a-beginner-which-are-should-we-focus-to-get-a-job-either-as-an-admin-or-as-a-developer-2/#post-20900 Wed, 12 Jul 2017 08:28:19 +0530 Reply to As a beginner ,which are should we focus to get a job (either as an admin or as a developer)?

In India all company wants a rajnikant so go for developer part bc companies know if you know the developer part then you also know the the admin part

]]>
368162212c5b020a26224ce9f21ea49a Raghav Chaturvedi started the discussion How OOPS concept is different in apex from java in the forum https://www.forcetalks.com/salesforce-topic/how-oops-concept-is-different-in-apex-from-java/ Mon, 10 Jul 2017 14:07:06 +0530 How OOPS concept is different in apex from java

How OOPS concept is different in apex from java

]]>
7628bff74772fd9b56713e835dde25b1 Raghav Chaturvedi started the discussion what is the parent child relationship difference between process builder and workflow in the forum https://www.forcetalks.com/salesforce-topic/what-is-the-parent-child-relationship-difference-between-process-builder-and-workflow/ Sat, 08 Jul 2017 05:19:14 +0530 what is the parent child relationship difference between process builder and workflow

what is the parent child relationship difference between process builder and workflow

]]>
14184c21e5ab97fbf6abdccfd1b7a950 Raghav Chaturvedi replied to the discussion count number of unique email addresses on child records(contact) in Salesforce in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/count-number-of-unique-email-addresses-on-child-recordscontact-in-salesforce/#post-20826 Thu, 06 Jul 2017 08:27:53 +0530 Reply to count number of unique email addresses on child records(contact) in Salesforce

no its a issue

]]>
1e404c6aaa4383cfeb12a47410a467a6 Raghav Chaturvedi and Ashley are now connected https://www.forcetalks.com/activity/p/17979/ Wed, 05 Jul 2017 22:29:44 +0530 0 146eff3c728891f08352396c49376a6b Raghav Chaturvedi started the discussion count number of unique email addresses on child records(contact) in Salesforce in the forum https://www.forcetalks.com/salesforce-topic/count-number-of-unique-email-addresses-on-child-recordscontact/ Tue, 27 Jun 2017 09:29:40 +0530 count number of unique email addresses on child records(contact) in Salesforce

count number of unique email addresses on child records(contact)

]]>
233288f1ad7ac0da1df6888108bf3217 Raghav Chaturvedi replied to the discussion Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/write-a-trigger-for-account-name-should-be-a-combination-of-lastnames-of-all-its-related-contacts/#post-20661 Fri, 23 Jun 2017 12:28:17 +0530 Reply to Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts

yes and thanks

]]>
8a41fc48f713190d6d5f50f8228ee986 Raghav Chaturvedi replied to the discussion Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/write-a-trigger-for-account-name-should-be-a-combination-of-lastnames-of-all-its-related-contacts/#post-20653 Fri, 23 Jun 2017 08:48:43 +0530 Reply to Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts

yes in a account(Raghav),if we have 1 contact(lastNamme=kumar) then account name should we updated by(Raghav Kumar) and again we add a contact(lastnam=sharma)then account nae should we raghav kumar sharma and so on.

this is my question

]]>
89a2116d03300afbcf2d5d06b772b16a Raghav Chaturvedi replied to the discussion Is certification mandatory to get an entry in Salesforce job? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-certification-mandatory-to-get-an-entry-in-salesforce-job/#post-20643 Fri, 23 Jun 2017 03:27:59 +0530 Reply to Is certification mandatory to get an entry in Salesforce job?

No, Certification is not mandatory to got a job in Salesforce. But it is good to have certification.

]]>
6ec5a6765e66ca0c791850cb2d0cdb05 Raghav Chaturvedi replied to the discussion Is certification mandatory to get an entry in Salesforce job? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-certification-mandatory-to-get-an-entry-in-salesforce-job/#post-20643 Fri, 23 Jun 2017 03:27:59 +0530 Reply to Is certification mandatory to get an entry in Salesforce job?

No,Certification is not mandatory to got a ob in salesforce.but it is good to have certification

]]>
c7339808adbdea2701ee4b862625651a Raghav Chaturvedi replied to the discussion Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/write-a-trigger-for-account-name-should-be-a-combination-of-lastnames-of-all-its-related-contacts/#post-20642 Fri, 23 Jun 2017 02:38:29 +0530 Reply to Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts

trigger contactlastName on Contact (after insert,after update)
{
list lst=new list();
for(contact c:Trigger.new)
{
lst.add(c.accountId);
}
list lac=new list();
list lacc=[select Id,Name,(select Id,lastName from contacts) from account where Id in:lst];
for(account a:lacc)
{
for(contact con:… Read more

]]>
596498d6ebd60de8fcecb93d850a86e6 Raghav Chaturvedi replied to the discussion Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/write-a-trigger-for-account-name-should-be-a-combination-of-lastnames-of-all-its-related-contacts/#post-20641 Fri, 23 Jun 2017 01:33:59 +0530 Reply to Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts

sir in your trigger account name is updated by contact last name but i want the combination of both account name and contact last name

]]>
71f33322a281d5adeaab3954d575114d Raghav Chaturvedi started the discussion Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts in the forum https://www.forcetalks.com/salesforce-topic/write-a-trigger-for-account-name-should-be-a-combination-of-lastnames-of-all-its-related-contacts-eg-if-i-have-two-contacts-1-test-name-2-test-name2-in-an/ Thu, 22 Jun 2017 06:58:20 +0530 Write a Salesforce Trigger for account name should be a combination of lastnames of all its related contacts

write a trigger for account name should be a combination of lastnames of all its related contacts. eg. if I have two contacts 1. test name 2. test name2 in an account. In this case account name should be "name name2". If I add a new contact "test name3" to this account, now account name should be "name name2 name3

]]>
d3d0b11f65fa672e7f897483c7af8989 Raghav Chaturvedi and Nibedita Dey are now connected https://www.forcetalks.com/activity/p/17692/ Mon, 19 Jun 2017 07:14:44 +0530 0 a1a30a929e43f937657e5c93327cccbe Raghav Chaturvedi replied to the discussion How can i write a Salesforce trigger to count number of completed task in a single contact? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/trigger-to-count-tasks-in-contact/#post-20499 Fri, 16 Jun 2017 14:23:31 +0530 Reply to How can i write a Salesforce trigger to count number of completed task in a single contact?

I have completed this question till creating a task related with account.and count function is not completed,how can i do this.code is here

trigger copleteTask on Account (after insert)
{
List lst= new List();
for (account acc : trigger.new)
{
Task t = new Task();
t.status = 'complited';
t.WhatId =… Read more

]]>