Ayush
IndividualForum Replies Created
-
Ayush
MemberNovember 23, 2020 at 10:54 am in reply to: How do I send an email from a batch class in Salesforce?It may be help you
https://developer.salesforce.com/forums/?id=9060G000000I1BdQAK -
Ayush
MemberNovember 23, 2020 at 9:08 am in reply to: How do I send an email from a trigger in Salesforce?It may be help you
https://www.sfdc99.com/2014/03/01/sending-emails-using-apex/ -
Ayush
MemberNovember 17, 2020 at 11:07 am in reply to: How to create object Type attribute in lightning component?<aura:attribute name="data" type="Object" />
-
Ayush
MemberNovember 17, 2020 at 11:05 am in reply to: Which interface we are supposed to implement so that a lightning componentflexipage:availableForAllPageTypes
-
Ayush
MemberNovember 17, 2020 at 10:58 am in reply to: lightning component can be used as quick actionforce:lightningQuickAction interface !!
-
Ayush
MemberNovember 13, 2020 at 8:13 am in reply to: Can we update Autonumber field in Salesforce?yes !!
-
Ayush
MemberNovember 11, 2020 at 5:33 am in reply to: How to create an auto field which auto updates in 15 minutes in Salesforce? -
Ayush
MemberNovember 11, 2020 at 5:09 am in reply to: How to get current time in field in Salesforce?With the help of TIMENOW() function.
-
Ayush
MemberNovember 9, 2020 at 5:23 am in reply to: Which attributes of have no effect in Lightning Experience? -
Ayush
MemberNovember 9, 2020 at 5:16 am in reply to: How many future calls we can make in a day in Salesforce?50 future call !!
-
Ayush
MemberOctober 28, 2020 at 5:47 am in reply to: How to find if a particular value is in the list in Apex?With the help of contains method .
-
Ayush
MemberOctober 28, 2020 at 5:45 am in reply to: How to get labels of field for an object in Salesforce?String type='Account';
Map<String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe();Schema.SObjectType leadSchema = schemaMap.get(type);Map<String, Schema.SObjectField> fieldMap = leadSchema.getDescribe().fields.getMap();for (String fieldName: fieldMap.keySet()) {
System.debug('##Field API Name='+fieldName);// list of all field API name
fieldMap.get(fieldName).getDescribe().getLabel();//It provides to get the object fields label.} -
Ayush
MemberOctober 28, 2020 at 5:38 am in reply to: How to convert list of object into list of string in Salesforce?List<Object> reqs = (List<Object>) responseObjinside3.values();
List<string> lsstr= new List<string> ();
for(Object a: reqs){
lsstr.add(String.valueOf(a));
} -
Ayush
MemberOctober 22, 2020 at 3:41 am in reply to: How to handle exceptions in test classes in salesforce?Use try Catch function ;
-
Ayush
MemberOctober 22, 2020 at 3:37 am in reply to: Can we include one lightning component to another?Yes
-
Ayush
MemberOctober 14, 2020 at 12:36 pm in reply to: How to create Remote Site Setting in Salesforce?Before any Apex callout can call an external site, that site must be registered in the Remote Site Settings page, or the callout fails. Salesforce prevents calls to unauthorised network addresses.To add a remote site setting:From Setup, enter Remote Site Settings in the Quick Find box, then select Remote Site Settings.
- Click New Remote Site.
- Enter a descriptive term for the Remote Site Name.
- Enter the URL for the remote site.
- Optionally, enter a description of the site.
- Click Save.
-
Select Id,YourCustomField__c from Task
Select Id,YourCustomField__c from Event
I believe Activities/Activity is a single logical object type holding both Tasks & Events.. and Tasks and Events are the concrete physical object types that you can run your queries on..
Activities Custom fields is one common place for creating custom fields for both Tasks & Events..
you can also run queries on OpenActivities object related to a particular object (like Lead, Account..) -
SELECT Count(Id) FROM Account . Try this!
-
Ayush
MemberOctober 9, 2020 at 3:20 am in reply to: What are the various deployment tools in Salesforce? -
Ayush
MemberOctober 9, 2020 at 3:18 am in reply to: How to hide lightning input in popup modal in Salesforce?Call this method $A.get("e.force:closeQuickAction").fire() will close the modal dialog.
-
- ALM defines the process of managing an app's development, from design to final release. ALM also establishes a framework for making app bug fixes and feature enhancements over time.
-
Ayush
MemberOctober 1, 2020 at 11:49 am in reply to: What is the use of outbound message in Salesforce?outbound message is used send a message to external Application .