Forcetalks | Satya | Activity https://www.forcetalks.com/satya/activity/ Activity feed for Satya. Thu, 05 Feb 2026 08:40:05 +0530 https://buddypress.org/?v=2.16.0 en-US 30 hourly 2 4eb0780af568d1165fa4b89ed1252076 Satya replied to the discussion How to show error message on the detail page of Salesforce sobject through before delete trigger? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-show-error-message-on-the-detail-page-of-salesforce-sobject-through-before-delete-trigger/#post-23519 Tue, 09 Jan 2018 09:07:08 +0530 Reply to How to show error message on the detail page of Salesforce sobject through before delete trigger?

Using stadard page we can have these kind of messages only when we save info , but we cannot have this for delete actions as the page will be redirected to some predefined page. The only way is to customize the detail page usign visual force and there we can have own custom validation.

]]>
cfa6a58b268aaa751a8968710032886f Satya replied to the discussion What is minimum test coverage required for a trigger to deploy in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-minimum-test-coverage-required-for-trigger-to-deploy-in-salesforce/#post-23517 Tue, 09 Jan 2018 09:05:21 +0530 Reply to What is minimum test coverage required for a trigger to deploy in Salesforce?

Hi Manpreet,
For trigger deploymet we need atleast 1% code coverage and Overall coverage > 75%

Example:-
1. If trigger code coverage = 0% and Overall coverage >= 75% Result deplyment failed (Code Coverage Error)
2. If trigger code coverage > 1% and Overall coverage < 75% Result deplyment failed (Code Coverage Error)
3. If trigger code coverage… Read more

]]>
818ab1cfd0467b7fbd6d1c174adab70c Satya replied to the discussion What is minimum test coverage required for a trigger to deploy in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-is-minimum-test-coverage-required-for-trigger-to-deploy-in-salesforce/#post-23517 Tue, 09 Jan 2018 09:05:21 +0530 Reply to What is minimum test coverage required for a trigger to deploy in Salesforce?

Hi Manpreet,
For trigger deploymet we need atleast 1% code coverage and Overall coverage > 75%

Example:-
1. If trigger code coverage = 0% and Overall coverage >= 75% Result deplyment failed (Code Coverage Error)
1. If trigger code coverage > 1% and Overall coverage < 75% Result deplyment failed (Code Coverage Error)
1. If trigger code coverage… Read more

]]>
bbe828bae87e52215ec3807aa79f2b5a Satya replied to the discussion Updating Rollup Summary field executes the parent object trigger? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/updating-rollup-summary-field-executes-the-parent-object-trigger/#post-23516 Tue, 09 Jan 2018 09:04:44 +0530 Reply to Updating Rollup Summary field executes the parent object trigger?

If the record contains a roll-up summary field or is part of a cross-object workflow, performs calculations and updates the roll-up summary field in the parent record. Parent record goes through save procedure.
So, updating the child inputs to a roll-up summary field can cause a trigger on an object to fire.

]]>
38b0764db2c8872a777a01c7bca06116 Satya replied to the discussion How to show error message on the detail page of Salesforce sobject through before delete trigger? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-show-error-message-on-the-detail-page-of-salesforce-sobject-through-before-delete-trigger/#post-23514 Tue, 09 Jan 2018 09:04:08 +0530 Reply to How to show error message on the detail page of Salesforce sobject through before delete trigger?

Using standard page we can have these kind of messages only when we save info , but we cannot have this for delete actions as the page will be redirected to some predefined page. The only way is to customize the detail page using visual force and there we can have own custom validation.

Workaround :

You can override Delete button with… Read more

]]>
a295d2a94b3248e68599540d217cbcfa Satya replied to the discussion How to create unique contacts in Salesforce depending on the value of number of location field in account object? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-create-unique-contacts-in-salesforce-depending-on-the-value-of-number-of-location-field-in-account-object/#post-23513 Tue, 09 Jan 2018 09:03:33 +0530 Reply to How to create unique contacts in Salesforce depending on the value of number of location field in account object?

Hi Shaharyar,
The Set class is not an iterable object type, and cannot participate in several common functions yet, including DML operations. Convert the Set to a List, instead.

]]>
a1369e2bc6b6024651e2a26563384573 Satya replied to the discussion How can i write a Salesforce trigger for below given scenario ? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-write-a-salesforce-trigger-for-below-given-scenario/#post-23511 Tue, 09 Jan 2018 09:02:45 +0530 Reply to How can i write a Salesforce trigger for below given scenario ?

Hi Shariq,

I tried your solution in my developer org but it was not working So i have made a minor change in your code and its working fine now.

so the latest code is :

trigger ContactRoleTrigger on Opportunity (after update) {

List<Opportunity> opps = [select stagename,(select id from OpportunityContactRoles) from opportunity where… Read more

]]>
86d961b87d476152b994d6681525b607 Satya replied to the discussion What are different types of tabs present in salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/what-are-different-types-of-tabs-present-in-salesforce/#post-23132 Tue, 02 Jan 2018 11:31:57 +0530 Reply to What are different types of tabs present in salesforce?

Custom tabs display custom object data or other web content embedded in the application.

Custom Object Tabs—For your custom object data. Custom Object Tabs display the data of your custom object in a user interface tab. Custom object tabs look and function just like standard tabs.
Web Tabs—For other web content Custom Web Tabs display any… Read more

]]>
c388a6de920064b78298424983e4bec9 Satya changed their profile photo https://www.forcetalks.com/activity/p/17236/ Wed, 17 May 2017 08:31:08 +0530 0 c22c62549e9d117c8e24b6563d9cd65a Satya replied to the discussion What are the reasons for data loss in Salesforce? in the forum Salesforce® Discussions http://www.forcetalks.com/salesforce-topic/what-are-the-reasons-for-data-loss-in-salesforce/#post-10661 Fri, 29 Apr 2016 07:28:09 +0530 Reply to What are the reasons for data loss in Salesforce?

Data loss may cause due to following reasons:

  • Changing data and date-time
  • Altering to percent,number and currency from other data types
  • Changing from multi-select picklist, checkbox, auto number to other types
  • Altering to multi-select picklist from any type except picklist
  • Changing to auto-number except from text
  • Changing from text-area…

Read more

]]>
4db6be29093996daf3a4666a05568684 Satya replied to the discussion What are the reasons for data loss in Salesforce? in the forum Salesforce® Discussions http://www.forcetalks.com/salesforce-topic/reasons-for-data-loss/#post-10661 Fri, 29 Apr 2016 07:28:09 +0530 Reply to What are the reasons for data loss in Salesforce?

Data loss may cause due to following reasons

Changing data and date-time
Altering to percent,number and currency from other data types
Changing from multi-select picklist, checkbox, auto number to other types
Altering to multi-select picklist from any type except picklist
Changing to auto-number except from text
Changing from text-area to… Read more

]]>
e5eae8b938636090fbdf20a677bdf1a7 Satya and Pooja are now connected https://www.forcetalks.com/activity/p/4628/ Tue, 26 Apr 2016 15:30:50 +0530 0 c4c1251766a8d2e1a42c673741fa9650 Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum https://www.forcetalks.com/salesforce-topic/how-to-remove-delete-domain-name-from-salesforce-org/ Wed, 13 Apr 2016 11:54:46 +0530 How to Remove/Delete "Domain Name" from Salesforce org?

Hi all,
I have created custom domain for our fullcopy sandbox and now I would like to revert.
Is there any specific way to revert it back?

]]>
c4c1251766a8d2e1a42c673741fa9650 Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum http://www.forcetalks.com/salesforce-topic/removedelete-domain-name-from-salesforce-org/ Wed, 13 Apr 2016 11:54:46 +0530 How to Remove/Delete "Domain Name" from Salesforce org?

Hi all,
I have created custom domain for our fullcopy sandbox and now I would like to revert.
Is there any specific way to revert it back?

]]>
c4c1251766a8d2e1a42c673741fa9650 Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum http://www.forcetalks.com/salesforce-topic/removedelete-domain-name-from-salesforce-org/ Wed, 13 Apr 2016 11:54:46 +0530 How to Remove/Delete "Domain Name" from Salesforce org?

Hi all,
I have created custom domain for our fullcopy sandbox and now I would like to revert.
Is there any specific way to revert it back?

]]>
2ea53d99d0f2349448f792b6f19ee4ea Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum http://forcetalks.com/salesforce-topic/removedelete-domain-name-from-salesforce-org/ Wed, 13 Apr 2016 11:54:46 +0530 How to Remove/Delete "Domain Name" from Salesforce org?

Hi all,
I have created custom domain for our fullcopy sandbox and now I would like to revert back.
Is there any specific way to revert it back?

]]>
3b1918f80d99689a80af16dcffb0f85d Satya replied to the discussion Automate the approval process? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/automate-the-approval-process/#post-9528 Fri, 01 Apr 2016 08:48:17 +0530 Reply to Automate the approval process?

you can Automate the approval process by using this piece of code in your opportunity trigger:-

if(oldMap.get(oppObj.Id).Fire_Custom_Approval__c == false && oppObj.Fire_Custom_Approval__c == true){
Approval.ProcessSubmitRequest req1 = new Approval.ProcessSubmitRequest();
req1.setComments('Submitting request for… Read more

]]>
2a05248eb8a6338be972c987518573ce Satya replied to the discussion How should I define integer value which is greater than maximum integer value in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/how-should-i-define-integer-value-which-is-greater-than-maximum-integer-value/#post-9527 Fri, 01 Apr 2016 08:32:11 +0530 Reply to How should I define integer value which is greater than maximum integer value

]]>
c75cbaa7c7a2d3ae6efc5bdaa7806182 Satya replied to the discussion Is it possible to call javascript function in an apex controller? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/calling-java-script-in-apex-controller/#post-9522 Fri, 01 Apr 2016 08:19:05 +0530 Reply to Is it possible to call javascript function in an apex controller?

]]>
70b140bc9e594f66754a64367d5b06b7 Satya replied to the discussion Is it possible to call javascript function in an apex controller? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/calling-java-script-in-apex-controller/#post-9522 Fri, 01 Apr 2016 08:19:05 +0530 Reply to Is it possible to call javascript function in an apex controller?

]]>
037e04500a2994820113de833268bfdf Satya replied to the discussion Is it possible to call javascript function in an apex controller? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/calling-java-script-in-apex-controller/#post-9522 Fri, 01 Apr 2016 08:19:05 +0530 Reply to Is it possible to call javascript function in an apex controller?

It is possible to call java script from apex.

You can try it:-

-------page-------

function func()
{
alert('function calling');
}

-------- apex class --------------
public class calljavascript_cls
{
public string callfunc{get;set;}
public calljavascript_cls()
{
callfunc=' func(); ';
}
}

]]>
27755c2a3e57884eddefb52ccf3fef3b Satya replied to the discussion Adding error messages to nonfield inputs in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/adding-error-messages-to-nonfield-inputs/#post-9377 Tue, 29 Mar 2016 10:16:41 +0530 Reply to Adding error messages to nonfield inputs

]]>
43c1957bb1eef45ef5b23af3f9c00ce6 Satya replied to the discussion How to execute Apex from Custom button or Javascript? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/how-to-execute-apex-from-custom-button-or-javascript/#post-9221 Tue, 22 Mar 2016 13:16:24 +0530 Reply to How to execute Apex from Custom button or Javascript?

We can call any apex method through JavaScript by following function:
sforce.apex.execute("class_Name","Method_Name",{Parameter_Name:Parameter_Value});

]]>
973dab5f86810f4b0fe957950955786c Satya and Shivam Sisodia are now connected https://www.forcetalks.com/activity/p/794/ Tue, 22 Mar 2016 12:22:30 +0530 0 8bce49a68b162321e513ed266c0cf0b6 Satya and Pooja are now connected https://www.forcetalks.com/activity/p/664/ Thu, 17 Mar 2016 08:35:24 +0530 0 7a7534b8f0f2f8cacd30e0351aa2f978 Satya and Anup are now connected https://www.forcetalks.com/activity/p/623/ Wed, 16 Mar 2016 13:01:55 +0530 0 b7336f808cd84aa1f79ad382246059b5 Satya and Arun are now connected https://www.forcetalks.com/activity/p/465/ Wed, 16 Mar 2016 05:59:44 +0530 0 1c996b0d0fa9caf2e40d45992f1c4372 Satya and jitesh are now connected https://www.forcetalks.com/activity/p/417/ Tue, 15 Mar 2016 12:18:27 +0530 0 b871a8b33fa158c506a4e5b3c7e865e2 Satya and rajendra are now connected https://www.forcetalks.com/activity/p/384/ Tue, 15 Mar 2016 05:20:41 +0530 0 65a3f151148113988986ca83b507ae29 Satya and Suraj are now connected https://www.forcetalks.com/activity/p/375/ Tue, 15 Mar 2016 04:31:38 +0530 0 a26b3653ce36f2b197cb1aed07f9bbf4 Satya and Abhishek are now connected https://www.forcetalks.com/activity/p/373/ Tue, 15 Mar 2016 04:30:34 +0530 0 571dd2c687e34f3ca6ea9301afbe0ff3 Satya and Pratyush are now connected https://www.forcetalks.com/activity/p/365/ Mon, 14 Mar 2016 16:01:58 +0530 0 5c9e6400ceea0faf1b48b91c0717474a Satya and Utsav are now connected https://www.forcetalks.com/activity/p/345/ Mon, 14 Mar 2016 14:01:00 +0530 0 dd712094bdf0186380bd341b127800f9 Satya and Prafull are now connected https://www.forcetalks.com/activity/p/336/ Mon, 14 Mar 2016 13:59:29 +0530 0 fef852c190807cda69692d6f428bf3f4 Satya and Amit are now connected https://www.forcetalks.com/activity/p/331/ Mon, 14 Mar 2016 13:59:03 +0530 0 c75132bb87110db631d52c23e58809c4 Satya and Piyush are now connected https://www.forcetalks.com/activity/p/300/ Mon, 14 Mar 2016 13:54:06 +0530 0 9d61f4265c6625933f0a33e76969f195 Satya and shafali are now connected https://www.forcetalks.com/activity/p/296/ Mon, 14 Mar 2016 13:53:41 +0530 0 f94251bc4c6400648232c86cd631908d Satya and Gaurav are now connected https://www.forcetalks.com/activity/p/295/ Mon, 14 Mar 2016 13:53:35 +0530 0 354e41514ab92fb0c4f31201c2019a15 Satya and Prakhar are now connected https://www.forcetalks.com/activity/p/293/ Mon, 14 Mar 2016 13:53:33 +0530 0 88b86d7b3623b69ba1548dd04f8adb6c Satya and Jogender are now connected https://www.forcetalks.com/activity/p/292/ Mon, 14 Mar 2016 13:52:36 +0530 0 ecf0a4f0e6b24cb8b898817e15aeb7cc Satya became a registered member https://www.forcetalks.com/activity/p/284/ Mon, 14 Mar 2016 13:49:27 +0530 0