krati vishnoi
IndividualForum Replies Created
-
krati
MemberFebruary 6, 2020 at 2:40 pm in reply to: What are the types of binding in visualforce page in Salesforce?There are three types of bindings used in Visualforce
a) Data bindings - refer to the data set in the controller.
b) Action bindings - refer to action methods in the controller.
c) Component bindings - refer to other Visualforce components. -
krati
MemberFebruary 6, 2020 at 2:33 pm in reply to: Which interface is often used for implementation so that a lightning component can be used for quick action in Salesforce?Hi Arun,
You have to use "force:lightningQuickAction" for this.
-
krati
MemberFebruary 5, 2020 at 1:51 pm in reply to: What is the difference between "c." and "c:" in Salesforce lightning?c. represents the client-side controller. For example, when you call the button function {!c.youButtonAction}
c: represents the Aura component which you have created.
-
krati
MemberFebruary 5, 2020 at 1:27 pm in reply to: How can we communicate between two different components in Salesforce?Hi Ratnesh,
You need to use Lightning events. On the component, from which you are passing values , you need to register the event. And you read that event on the component from where you need those values.
-
krati
MemberFebruary 5, 2020 at 1:21 pm in reply to: What is server-side controller in Salesforce Lightning?Hi Udit,
Server side controller is your Apex class which gets the record from database.
-
krati
MemberFebruary 4, 2020 at 2:29 pm in reply to: How to remove this error'' campingList component appears to be using UI Components instead of Base Lightning Components''in Salesforce?Please also paste your code. I guess you are using <ui:> tags instead of <lightning:> tags.
-
krati
MemberFebruary 4, 2020 at 2:23 pm in reply to: What is the use of ISUNCHANGED() in validation rules in Salesforce?I guess you meant ISCHANGED()
ISCHANGED() - Compares the value of a field to the previous value and returns TRUE if the values are different. If the values are the same, this function returns FALSE.
You can have the example here:
https://developer.salesforce.com/forums/?id=906F00000008wIVIAY
-
krati
MemberFebruary 4, 2020 at 1:49 pm in reply to: What Is Difference Between Custom Report Types And Standard Report Types Salesforce?Standard report types give you access to most Salesforce data.
Custom report types give you access to custom objects in Salesforce, or custom views of standard objects (like Opportunities), which your administrator configures.
Please go through:
https://help.salesforce.com/articleView?id=reports_builder_selecting_a_report_type.htm&type=5
-
krati
MemberFebruary 3, 2020 at 1:31 pm in reply to: What are the possible values 'access' attributes in the Salesforce Lightning Component?There are three values for access attribute on the <aura:attribute>
private
public
global
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
krati
MemberFebruary 3, 2020 at 1:26 pm in reply to: When we erase a field from page layout, does it get erased from the object in Salesforce?No, the field does not get deleted from object, if you remove it from page layout.
- This reply was modified 4 years, 9 months ago by krati vishnoi.
-
krati
MemberFebruary 3, 2020 at 1:24 pm in reply to: How can I set up a debug log on a Specific User in Salesforce?Hi Anuj,
a) From Setup, enter Debug Logs in the Quick Find box, then click Debug Logs.
b) Click New.
c) Set the traced entity type to User.
d) Open the lookup for the Traced Entity Name field, and then find and select your user.
e) Assign a debug level to your trace flag.
f) Click Save.- This reply was modified 4 years, 9 months ago by Forcetalks.
-
krati
MemberJanuary 31, 2020 at 12:35 pm in reply to: What are different Salesforce Lightning Component Bundles?These are the few Salesforce Lightning Component Bundles:
1.Component
2.Controller
3.Helper
4.Style
5.Document
6.Renderer
7.Design
8.SVG- This reply was modified 4 years, 9 months ago by Forcetalks.
-
krati
MemberJanuary 31, 2020 at 12:29 pm in reply to: How can we call one Aura Component from other Aura Component in Salesforce?You have to use the Salesforce Lightning Event for this. You have to fire the event from Component 1 from which you need to pass the value, which would then caught by the event handler of component 2.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
krati
MemberJanuary 31, 2020 at 12:17 pm in reply to: What are the types of Events in the Salesforce Lightning Component?There are three events-
Application Event- you define this event in Lightning Application and any component which are registered for this event would get the notification.
Component Event– Scope of this event is within itself or the parent component of this event, all the components declared within the parent component would get notified of this event.
System Event- these are the events fired by Salesforce’s system during the lifecycle of the lightning app.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
krati
MemberJanuary 30, 2020 at 5:00 pm in reply to: What is aura:attribute in Salesforce Lightning?Attributes on components are like instance variables in objects. They’re a way to save values that change, and a way to name those value placeholders.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
krati
MemberJanuary 30, 2020 at 4:54 pm in reply to: What is the meaning of C and V in the Salesforce Lightning Component?When you want to access attribute data from a component you use {!v.}, whereas {!c.} is for controller action.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
A 'callout' is any https call that accesses an external URL -- some other web service or website.
A 'callin' would be the opposite -- some external web service or application using the Salesforce API to access Salesforce data.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
An inline VisualForce Page is one, which can be embedded within a detail page of a record. Inline editing lets users quickly edit field values, right on a record’s detail page.
-
krati
MemberJanuary 29, 2020 at 2:09 pm in reply to: What is the purpose of enqueueAction in helper.js in lightning in Salesforce?$A.enqueueAction(action) sends the request to the server. It adds the call to the queue of asynchronous server calls.
-
Blob is a collection of Binary data which is stored as Object. This data types converts the attachments into a single object.
-
krati
MemberJanuary 28, 2020 at 1:56 pm in reply to: What is the difference between Trigger.new and Trigger.newMap in Salesforce?Hi Manish,
Trigger.New returns a list of sObject Records and is ordered.
Trigger.New is only available in 'insert', 'update', and 'undelete' triggersTrigger.NewMap returns a list a map and is unordered, it is only available in 'before update', 'after insert', 'after update', and 'after undelete' triggers.
-
krati
MemberJanuary 28, 2020 at 1:39 pm in reply to: How to get Maps from SOQL Query in Salesforce?Hi Marziya,
You can create a map the following way by using SOQL query:
Map<Id, Account> mapAcc = new Map<Id, Account>([SELECT Id, Name FROM Account ]);
-
krati
MemberJanuary 28, 2020 at 1:29 pm in reply to: How to use the Helper class in Salesforce Apex Trigger?Hi Arun,
You can Use Helper Class in Trigger. Your Helper Class is an Apex Class only, by using inside the helper class create a method which can be used by different trigger or different trigger event. You just need to pass the your trigger. new or trigger.old value in the method parameter.
For Example, here same method is getting called for different trigger events.
if(trigger.isInsert || trigger.isUpdate){ HelperClass.accountTotalAmountAfterInsertOrUpdateOrDelete(trigger.new); } if(trigger.isDelete){ HelperClass.accountTotalAmountAfterInsertOrUpdateOrDelete(trigger.old); } // Helper Class public static void updatePrimaryContactAfterDelete(List<Contact> listOfContacts){ // your code here }
-
krati
MemberJanuary 24, 2020 at 2:43 pm in reply to: How to remove OTP from Salesforce org through profiles in Salesforce?Go to:
SetUp>Profiles>System Administrator > Login IP Ranges- and set your IP from 0.0.0.0 to 255.255.255.255
-
krati
MemberJanuary 24, 2020 at 2:39 pm in reply to: How to override an Existing Page with a Visualforce Page in Salesforce?Go to:
Setup > Accounts > Buttons, Links, and Actions.> Action Type - Select Custom Visualforce