Satya
Individual-
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 7 years ago
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.
-
Satya replied to the discussion What is minimum test coverage required for a trigger to deploy in Salesforce? in the forum Salesforce® Discussions 7 years ago
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 -
Satya replied to the discussion What is minimum test coverage required for a trigger to deploy in Salesforce? in the forum Salesforce® Discussions 7 years ago
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 -
Satya replied to the discussion Updating Rollup Summary field executes the parent object trigger? in the forum Salesforce® Discussions 7 years ago
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. -
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 7 years ago
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
-
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 7 years ago
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. -
Satya replied to the discussion How can i write a Salesforce trigger for below given scenario ? in the forum Salesforce® Discussions 7 years ago
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
-
Satya replied to the discussion What are different types of tabs present in salesforce? in the forum Salesforce® Discussions 7 years ago
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 -
Satya changed their photo 7 years ago
-
Satya replied to the discussion What are the reasons for data loss in Salesforce? in the forum Salesforce® Discussions 8 years ago
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…
-
Satya replied to the discussion What are the reasons for data loss in Salesforce? in the forum Salesforce® Discussions 8 years ago
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 -
Sriram dharahas and Satya are now connected 8 years ago
-
Satya and Pooja are now connected 8 years ago
-
Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum 8 years ago
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? -
Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum 8 years ago
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? -
Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum 8 years ago
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? -
Satya started the discussion How to Remove/Delete "Domain Name" from Salesforce org? in the forum 8 years ago
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? -
Satya replied to the discussion Automate the approval process? in the forum Salesforce® Discussions 8 years ago
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 -
Satya replied to the discussion How should I define integer value which is greater than maximum integer value in the forum Salesforce® Discussions 8 years ago
Reply to How should I define integer value which is greater than maximum integer value
Please follow this link. It will resolve your issue:-
https://developer.salesforce.com/docs/atlas.en-us.apex_workbook.meta/apex_workbook/apex3_4.htm -
Satya replied to the discussion Is it possible to call javascript function in an apex controller? in the forum Salesforce® Discussions 8 years ago
- Load More