Forcetalks | Emilyn | Activity https://www.forcetalks.com/asmodahlia/activity/ Activity feed for Emilyn. Fri, 06 Feb 2026 21:51:49 +0530 https://buddypress.org/?v=2.16.0 en-US 30 hourly 2 9213b988a43bc42cd13da22bb6af8f5e Emilyn posted a new activity comment https://www.forcetalks.com/activity/p/138598/#acomment-138661 Tue, 16 Aug 2022 19:25:44 +0530 Hey, no worries! Have a good one!

In reply to - Sagar Patel posted an update

While updating Leads if i have lead id's. Do i still need record type id's and owner id's in order to update the records?

]]>
41cd267dad2cf6215560f381305cfeda Emilyn posted a new activity comment https://www.forcetalks.com/activity/p/138598/#acomment-138658 Tue, 16 Aug 2022 18:45:24 +0530 Okay so how are you uploading the data (Dataloader, Data Import Wizard, etc.)? If you're only updating (NOT upserting or inserting) and have an External ID provided, then that's all you will need. If you don't have an External ID specified, then you will need to create some sort of deduplication process to ensure you aren't duplicating… Read more

In reply to - Sagar Patel posted an update

While updating Leads if i have lead id's. Do i still need record type id's and owner id's in order to update the records?

]]>
1fa8bae060b96201b8249f761c9b8aa1 Emilyn posted a new activity comment https://www.forcetalks.com/activity/p/138598/#acomment-138652 Tue, 16 Aug 2022 17:37:02 +0530 I can't answer that unless you provide more information about HOW you are going about this update process. If you need to query for the records to update them, then you may very well need this information. However, I can't help you unless you provide the necessary information. I would suggest that you search Trailhead for a lesson to teach you… Read more

In reply to - Sagar Patel posted an update

While updating Leads if i have lead id's. Do i still need record type id's and owner id's in order to update the records?

]]>
3bd8fed3e33db7e08a30d44f69702fdb Emilyn posted a new activity comment https://www.forcetalks.com/activity/p/138598/#acomment-138644 Tue, 16 Aug 2022 15:32:25 +0530 Only if they aren't null. Since it's an update, I'm assuming they are not null since they are mandatory. So you only need to provide field values that are being changed.

In reply to - Sagar Patel posted an update

While updating Leads if i have lead id's. Do i still need record type id's and owner id's in order to update the records?

]]>
bf549d0bf1581beca3cd0d0bee2f540b Emilyn posted a new activity comment https://www.forcetalks.com/activity/p/138598/#acomment-138642 Tue, 16 Aug 2022 15:20:45 +0530 If they are mandatory then yes, they will need to be provided. How are you going about this update?

In reply to - Sagar Patel posted an update

While updating Leads if i have lead id's. Do i still need record type id's and owner id's in order to update the records?

]]>
3ed849a17511d4e4d77b00be1d1a236f Emilyn posted a new activity comment https://www.forcetalks.com/activity/p/138598/#acomment-138599 Mon, 15 Aug 2022 21:20:10 +0530 You're going to need to provide a bit more info here, my guy. What is the use case and how are you doing it?

In reply to - Sagar Patel posted an update

While updating Leads if i have lead id's. Do i still need record type id's and owner id's in order to update the records?

]]>
ecd3702910dd61449c017d2eeb6266b5 Emilyn replied to the discussion Unique field error message in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/unique-field-error-message/#post-99494 Thu, 13 Jan 2022 23:17:22 +0530 Reply to Unique field error message

Hi Bruce,

I'm not sure, but it could be a minor difference in how they are querying for the value to display on the back end. I'm mentioning this because I have an active ticket open with a similar issue that is the result of Salesforce trying to get an ID, but mistakenly querying for a Name instead.

Is the ID still clickable?

If not, there are…

Read more

]]>
6f18eb105bada7219efa2bff1c60cb02 Emilyn replied to the discussion How to use the Helper class in Salesforce Apex Trigger?  in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-use-the-helper-class-in-salesforce-apex-trigger/#post-99493 Thu, 13 Jan 2022 22:51:44 +0530 Reply to How to use the Helper class in Salesforce Apex Trigger? 

Hi Arun!

It's important that we use handlers for our triggers for many reasons:

  • they keep logic out of the triggers themselves, which significantly improves legibility and ease of alteration because it allows the trigger itself to act as a sort of router, passing along tasks to the handlers
  • Because the logic is separated out this way, it is…

Read more

]]>
814cc5a3c9b0834fe4690b171135d09b Emilyn replied to the discussion What will happen if you try to update record in After Trigger Context in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-will-happen-if-you-try-to-update-record-in-after-trigger-context-in-salesforce/#post-99492 Thu, 13 Jan 2022 21:55:28 +0530 Reply to What will happen if you try to update record in After Trigger Context in Salesforce?

If you did this, it would fail because you're essentially trying to make a duplicate record here. You are correct, however, in that the After context has access to the ID(s) of the updated record(s). In fact, with After Update we have use of trigger.new, which contains not only the ID(s) but all the fields for the updated records. To make…

Read more

]]>