Sumit kumar
IndividualForum Replies Created
-
AJAX is the art of exchanging data between server and client without reloading the complete web page. Visualforce has inbuilt support for the AJAX. using the attribute “rerender” we can specify that where the response should be rendered.
-
Analytical snapshot allows reports run at scheduled time to be stored as objects. Analytical snapshots are used to perform trend analysis. As an example if we want to view how monthly sales are growing, fields in a report with sales figure can be stored in a custom object every month using Analytical snapshot. Data in this custom object can then be used to perform trend analysis.
Analytical snapshot are available from the Data Management menu option. Source report in Analytical snapshot can be of the type Tabular or Summary.
-
Sumit
MemberFebruary 3, 2020 at 9:09 am in reply to: How to Declare attributes in lightning component of Salesforce?Below is the syntax of using attribute in lightning component or application -
<aura:component> <aura:attribute name="yourName" type="String" default="Marc Benioff" description="Using for Store Name"/> </aura:component>
-
What is an Attribute in Lightning? The attribute is like a member variable in our regular coding (like declare variables in Apex, JavaScript). In simple words, attributes are used to store information to be referenced and used in our lightning component code. An attribute will make your lightning component more dynamic
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
An assignment rule in Salesforce is used to define to whom case or lead is assigned based on the specified criteria. Most of the organizations have one particular rule for the overall purpose. For example, there could on lead assignment rule for web-generated leads and one case assignment rule for the holiday use
-
Sumit
MemberJanuary 31, 2020 at 1:47 pm in reply to: What is event.getSource() in Salesforce lightning and How to use it?Use event. getSource() in the client-side controller to get the button component that was clicked.
-
Sumit
MemberJanuary 31, 2020 at 1:45 pm in reply to: Can we override Salesforce standard Actions with Lightning Components?You can override a standard action with an Aura component in both Lightning Experience and mobile.
You need at least one Aura component in your org that implements the lightning:actionOverride interface. You can use a custom component of your own, or a component from a managed package.
Go to the object management settings for the object with the action you plan to override.
Select Buttons, Links, and Actions.
Select Edit for the action you want to override.
Select Lightning component for the area you want to set the override.
From the drop-down menu, select the name of the Lightning component to use as the action override.
Select Save. -
Sumit
MemberJanuary 31, 2020 at 1:33 pm in reply to: Is Lightning Components build on the MVC pattern in Salesforce?No, it's a component-based framework.
-
Sumit
MemberJanuary 30, 2020 at 12:34 pm in reply to: What is flexiPage in the Salesforce Lightning Component?FlexiPage. Represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components
-
Sumit
MemberJanuary 30, 2020 at 12:31 pm in reply to: What are the benefits of subDomain in Salesforce?With a My Domain subdomain, you can:
1)Highlight your business identity with your unique domain URL
2)Brand your login page and customize content on the right side of the page
3)Block or redirect page requests that don’t use the new domain name
4)Work in multiple Salesforce orgs at the same time
5)Set custom login policy to determine how users are authenticated
6)Let users log in using a social account, like Google and Facebook, from the login page
7)Allow users to log in once to access external services -
Sumit
MemberJanuary 30, 2020 at 12:25 pm in reply to: What are the different types of events of Javascript which are used in Salesforce?onchange An HTML element has been changed
onclick The user clicks an HTML element
onmouseover The user moves the mouse over an HTML element
onmouseout The user moves the mouse away from an HTML element
onkeydown The user pushes a keyboard key
onload The browser has finished loading the page -
Sumit
MemberJanuary 29, 2020 at 11:56 am in reply to: What is the return type of Trigger.Old and Trigger.OldMap in Salesforce?Trigger.old: Returns a list of the old versions of the sObject records.
Note that this sObject list is only available in the update and delete triggers.Trigger.oldMap: A map of IDs to the old versions of the sObject records.
Note that this map is only available in the update and delete triggers.
suppose you have a custom object Custom_obj__c -
Sumit
MemberJanuary 29, 2020 at 11:55 am in reply to: What is the difference between before and after trigger in Salesforce?Before triggers are used to update or validate record values before they're saved to the database. After triggers are used to access field values that are set by the system (such as a record's Id or LastModifiedDate field), and to effect changes in other records. The records that fire the after trigger are read-only
-
Sumit
MemberJanuary 29, 2020 at 11:48 am in reply to: How can we avoid recursive trigger execution in Salesforce?To avoid recursive triggers you can create a class with a static Boolean variable with default value true. In the trigger, before executing your code keep a check that the variable is true or not. Once you check make the variable false
-
1. The original record is loaded from the database (or initialized for an insert statement)
2. The new record field values are loaded from the request and overwrite the old values
3. All before triggers execute (TRIGGERS)
4. System validation occurs, such as verifying that all required fields have a non-null value, and running any user-defined validation rules (VALIDATIONS)
5. The record is saved to the database, but not yet committed
6. All after triggers execute
7. Assignment rules execute
8. Auto-response rules execute
9. Workflow rules execute (WORKFLOW)
10. If there are workflow field updates, the record is updated again
11. If the record was updated with workflow field updates, before and after triggers fire one more time (and only one more time)
12. Escalation rules execute
13. All DML operations are committed to the database
14. Post-commit logic executes, such as sending email -
Sumit
MemberJanuary 27, 2020 at 2:10 pm in reply to: What is the type of records that fire after triggering in Salesforce?After triggers are used to access field values that are set by the system (such as a record's Id or LastModifiedDate field), and to affect changes in other records, such as logging into an audit table or firing asynchronous events with a queue. The records that fire the after trigger are read-only.
-
Sumit
MemberJanuary 27, 2020 at 2:07 pm in reply to: What is the difference between the old and the new version of sobject records in Salesforce Trigger?Hi,
Trigger.new : Returns a list of the new versions of the sObject records. Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers.
Trigger.old : Returns a list of the old versions of the sObject records. Note that this sObject list is only available in update and delete triggers
-
Inline editing is a feature by which one can edit a record without pressing the edit button.User goes to the detail page, doubles click on a field, changes to a new value and presses save. This process makes sure the field value is updated to the new value
-
Sumit
MemberJanuary 24, 2020 at 2:15 pm in reply to: What is the maximum number of leads that can be captured per day via Web-to-Lead in Salesforce?The daily limit for Web-to-Lead requests is 500.
-
Sumit
MemberJanuary 24, 2020 at 2:11 pm in reply to: What is the difference between roles and profiles in Salesforce?Profiles help to control object privileges such as CRED (Create, Read, Edit, Delete). They also contain system permissions that a user can carry out such as exporting data.
Roles on the other hand help with sharing records across an organization. They work in a hierarchical fashion, giving users access to records that are owned by people lower down in the hierarchy. -
Sumit
MemberJanuary 23, 2020 at 1:29 pm in reply to: In Salesforce Dashboard, how many reports can be added?maximum number of reports that act as the data source for your dashboard is 20 and the minimum is 1
-
Sumit
MemberJanuary 22, 2020 at 12:37 pm in reply to: Why sObjects can’t be passed as arguments to future methods in Salesforce?The sObject might change between the time you call the method and the time it executes. In this case, the future method will get the old sObject values and might overwrite them. To work with sObjects that already exist in the database, pass the sObject ID instead (or collection of IDs) and use the ID to perform a query for the most up-to-date record. The following example shows how to do so with a list of IDs.
-
Sumit
MemberJanuary 21, 2020 at 7:53 am in reply to: What are compound fields in Salesforce? Explain the types of compound fields?Compound fields group together multiple elements of primitive data types, such as numbers or strings, to represent complex data types, such as a location or an address. Compound fields are an abstraction that can simplify application code that handles the values, leading to more concise, understandable code.
3 types of compound fields
- Address Compound Fields
- Geolocation Compound Field
- Compound Field Considerations and Limitations
-
A big object stores and manages massive amounts of data on the Salesforce platform. You can archive data from other objects or bring massive datasets from outside systems into a big object to get a full view of your customers. Clients and external systems use a standard set of APIs to access big object data. A big object provides consistent performance, whether you have 1 million records, 100 million, or even 1 billion. This scale gives a big object its power and defines its features.
-
Sumit
MemberJanuary 15, 2020 at 1:53 pm in reply to: Can we write a trigger on the VF page in Salesforce?There is no way to call visualforce page in a trigger.
If you try to insert a record on one VF page and after hitting Save you want to be redirected to a specific page, I suggest you to check PageReference Class.
After you call insert in a controller you should return a PageReference instance with URL you want user to be redirected to.