Kirandeep
IndividualForum Replies Created
-
Hi ,
you can refer the blog link below :-
https://www.minddigital.com/how-to-integrate-salesforce-with-facebook/ -
Kirandeep
MemberJuly 10, 2020 at 3:58 PM in reply to: How to call future method from trigger in Salesforce?Hi Anjali
Please refer the link below
https://www.greytrix.com/blogs/salesforce/2014/10/30/invoke-future-methods-through-apex-trigger-for-web-service-callout/ -
Kirandeep
MemberJuly 9, 2020 at 2:34 PM in reply to: What is serialization and Deserialization in Salesforce?Hi Marziya,
Serialization means to convert an object into that string, and deserialization is its inverse operation. -
JSON Deserialize :Deserializes the specified JSON string into an Apex object of the specified type.
-
Kirandeep
MemberJuly 9, 2020 at 2:28 PM in reply to: What is the use Component Event in Salesforce?Events are used to Communicate between two components .Component Event is fired from Child Component and handled by parent component or component that fired the event
-
Kirandeep
MemberJuly 8, 2020 at 3:25 PM in reply to: What are the basic advantages of Salesforce lightning components?Lightning applications have richer components for the client side and can embed newer and more varied types of visualisation. The new interface is modern, efficient and smart. All Salesforce users have a consistent experience across every device – desktop, tablet and mobile
-
Kirandeep
MemberJuly 8, 2020 at 3:24 PM in reply to: How to create an External Id field in Salesforce?Hi Anjali ,
Refer the Link Below ;-
http://winshuttle-help.s3.amazonaws.com/studio/en/connect-salesforce/help/add-external-id-field.htm#gsc.tab=0 -
We can get user id with use of method getUserId() of UserInfo Class
-
Kirandeep
MemberJuly 7, 2020 at 11:59 AM in reply to: How do I Create Person Account in Test Class in Salesforce?String recordTypeId = Schema.getGlobalDescribe().get('Account').getDescribe().getRecordTypeInfosByName().get('Person Account').getRecordTypeId();
Account acc= new Account(
RecordTypeID=recordTypeId ,
FirstName='Test FName',
LastName='Test LName',
PersonMailingStreet='test@yahoo.com',
PersonMailingPostalCode='12345',
PersonMailingCity='SFO',
PersonEmail='test@yahoo.com',
PersonHomePhone='1234567',
PersonMobilePhone='12345678'
);insert acc;
-
Kirandeep
MemberJuly 7, 2020 at 11:51 AM in reply to: How to register event in Component in Salesforce?To register an event we only need to put a single line of code in our child component(The component from where you want to execute the event).
<aura:registerEvent name=’testEvent’ type=’c:compEvent’ /> -
Kirandeep
MemberJuly 7, 2020 at 11:48 AM in reply to: How do we create object in javascript controller in lightning?Hello Anuj,
We can create objects in Javascript like this :-
var QuestionDetail = {
Name:"Priya",
Id :''20202"
}; -
Kirandeep
MemberJuly 6, 2020 at 2:55 PM in reply to: What is Component Namespace in Lightning in Salesforce?Component Namespace. Every component is part of a namespace, which is used to group related components together. ... Lightning components that Salesforce provides are grouped into several namespaces, such as aura , ui , and force
-
Kirandeep
MemberJuly 6, 2020 at 2:54 PM in reply to: Where to use lightning component in Salesforce?The lightning namespace provides many UI components that use Salesforce Lightning Design System, or SLDS, out-of-the-box. It is best practice to use components in the lightning namespace where possible. For example, use <lightning:input> instead of <ui:inputText> , <ui:inputNumber> , and so on.
-
Kirandeep
MemberJuly 6, 2020 at 2:50 PM in reply to: What's the maximum batch size in a single trigger execution?By default size is 200.
-
WSDL is an XML-based protocol for information exchange in decentralized and distributed environments.
-
Kirandeep
MemberJuly 1, 2020 at 12:23 PM in reply to: What is the purpose of Test.startTest() and Test.stopTest() in Salesforce?Test. startTest() and Test. stopTest() exist primarily to allow you to reset the governor limits within the context of your test execution and to be able to testasynchronous methods. These two statements cannot be called more than once within a testMethod
-
Kirandeep
MemberJuly 1, 2020 at 12:21 PM in reply to: What is the purpose of system.runAs() in Salesforce?System method runAs enables you to write test methods that change the user context to an existing user or a new user so that the user’s record sharing is enforced. The runAs method doesn’t enforce user permissions or field-level permissions, only record sharing.
-
Kirandeep
MemberJuly 1, 2020 at 12:16 PM in reply to: What is the purpose of Test.isRunningTest() in Salesforce?Test.isRunningTest() method is used to identify, if the piece of code being executed is invoked from a Test class execution or from other artefacts such as a Trigger, Bacth Job etc. Returns true if the code being executed is invoked from a test class otherwise returns a false.
-
Kirandeep
MemberJune 30, 2020 at 2:48 PM in reply to: how to fix list index out of bounds in Apex ?Hi Ayush,
System.ListException: List index out of bounds: This Exception occurs when we try to access an index that’s not in the List. -
Kirandeep
MemberJune 30, 2020 at 2:43 PM in reply to: How can we add custom timer in lightning component in Salesforce?Hi anuj ,
You can refer the link below :-
https://www.sfdcstuff.com/2018/09/lightning-component-for-timer.html -
Kirandeep
MemberJune 30, 2020 at 2:40 PM in reply to: what is the use of .addAll method in salesforce?Adds all of the elements in the specified list/set to the list that calls the method. Both lists must be of the same type.
-
Aura is a UI framework for developing dynamic web apps for mobile and desktop devices, while providing a scalable long-lived lifecycle to support building apps engineered for growth. It supports partitioned multi-tier component development that bridges the client and server.
-
Kirandeep
MemberJune 29, 2020 at 3:13 PM in reply to: How to include external javascript file in lightning component in Salesforce?Load your external java script library in static resource.
Goto >> SetUp>> Custom Code >> Static Resources. -
Kirandeep
MemberJune 29, 2020 at 3:06 PM in reply to: What is lightning Web component in Salesforce?Lightning web components are custom HTML elements built using HTML and modern JavaScript. Lightning web components and Aura component
-
Kirandeep
MemberJune 26, 2020 at 4:18 PM in reply to: How do you display a list of records in a lightning component?Hi Marziya ,
Please refer the link below :
http://www.salesforcenextgen.com/display-list-of-records-in-lightning-component/