kishan giri
IndividualForum Replies Created
-
An enum is an abstract data type with values that each take on exactly one of a finite set of identifiers that you specify. Apex provides built-in enums, such as Logging Level , and you can define your own enum.
All Apex enums, whether user-defined enums or built-in enums, have the following common method that takes no arguments.
Each Enum value has the following methods that take no arguments.
Enum values cannot have user-defined methods added to them.- This reply was modified 3 years, 9 months ago by kishan.
-
kishan
MemberMarch 10, 2021 at 1:39 pm in reply to: In Salesforce, What are the different types of Apex code development tools?Use these tools to write Apex code:
Developer Console.
Salesforce Extensions for Visual Studio Code.
Code Editor in the Salesforce User Interface. -
kishan
MemberMarch 10, 2021 at 1:36 pm in reply to: When should developers choose Apex in salesforce?Use Apex if you want to: Create Web services. Create email services. Perform complex validation over multiple objects.
-
Apex is a proprietary language developed by the Salesforce.com. As per the official definition, Apex is a strongly typed, object-oriented programming language that allows developers to execute the flow and transaction control statements on the Force.com platform server in conjunction with calls to the Force.com API.
-
Batch Size of Data Loader: This will set how many records are processed in each batch. The maximum value is 10,000 when the Bulk API is enabled, otherwise it is 200.
-
kishan
MemberMarch 9, 2021 at 3:05 pm in reply to: How to delete a record using Data loader in salesforce?please checkout this link-
https://www.shellblack.com/data/deleting-records-using-the-data-loader/ -
An external ID is a custom field that has the External ID attribute, meaning that it contains unique record identifiers from a system outside of Salesforce .
-
kishan
MemberMarch 8, 2021 at 11:35 am in reply to: How to delete a record using Data loader in Salesforce?please checkout this link-
https://www.shellblack.com/data/deleting-records-using-the-data-loader/ -
kishan
MemberMarch 8, 2021 at 11:34 am in reply to: What are the different actions that can be made using data loaders in SalesforceUsing Data loaders we can perform 6 type of action .They are:
Insert – insertion of new records.
Update – Updating existed records.
Upsert – Update and Insertion of records.
Delete – Deletion of records.
Export – Extraction of all records.
Export All – It extracts all records from salesforce including Recycle Bin records. -
kishan
MemberMarch 8, 2021 at 11:30 am in reply to: How to update a record using Data Loader in Salesforce?1-Prepare your CSV File. First, identify the specific IDs of the records that you wish to update.
2- Prepare your data. Navigate to the record type that you wish to apply to your records.
3- Update the data with the Apex Data Loader. -
Assignment rules are a powerful Salesforce feature which can help automate your organization's lead generation and support processes. Assignment rules dictate to whom a lead or case is assigned based on criteria specified within Salesforce. Typically, your organization will have one rule for each overall purpose .
-
kishan
MemberMarch 5, 2021 at 9:24 am in reply to: Which field type does Bucketing field support in Salesforce?Bucket field in Salesforce Reports is an incredible powerful functionality used to quickly categorize values for a field in a report without the need to have a custom formula field at the object level. When you create a bucket field in Salesforce, you define multiple categories into groups depending on the record values, this bucket field will not affect other Salesforce reports. Bucket fields in Salesforce are available in Tabular reports, Summary Reports and Matrix reports. Joined Reports does not support Bucket fields.
-
The Data Import Wizard makes it easy to import data for many standard Salesforce objects, including accounts, contacts, leads, solutions, campaign members, and person accounts. You can also import data for custom objects. You can import up to 50,000 records at a time .
-
kishan
MemberMarch 4, 2021 at 10:36 am in reply to: Can we implement multilevel approval process in salesforce?For that you will have to Define different steps in approval process. For further reference
https://trailhead.salesforce.com/en/projects/build-a-discount-approval-process/steps/create-an-approval-process -
kishan
MemberMarch 4, 2021 at 10:29 am in reply to: Is it possible to start approval process after records is created in salesforce?In the Process Builder actions, select 'Submit for Approval' and select the approval process. The option 'Skip the entry criteria for this process' appears once you have selected your process: Save and Activate. Now with a certain record change, you can launch a specific approval process by skipping the entry criteria.
-
kishan
MemberMarch 4, 2021 at 10:08 am in reply to: Is it possible to create parallel approval process?Yes. Parallel approval process allows specifying (upto 25) multiple approvers. The approver setting could be set to unanimous, or first action.
-
kishan
MemberMarch 3, 2021 at 9:40 am in reply to: Can two users have the same profile?Can two profiles be assigned to same user?Hi Mansi
Yes, this is possible that two or more users have the same profile in the Salesforce. But a single user cannot have more than one profile. As soon as, the profile is created then it will be added to the role hierarchy. -
Hi
Data loss may cause due to following reasons:
1:-Changing data and date-time.2:- Altering to percent , number and currency from other data types.
3:- Changing from multi-select picklist, checkbox, auto number to other types.
4:- Altering to multi-select picklist from any type except picklist.
5:- Changing to auto-number except from text .
6:- Changing from text-area to e-mail, phone, URL and text . -
kishan
MemberMarch 3, 2021 at 9:29 am in reply to: Is it possible to schedule a dynamic dashboard in Salesforce?Hi Mansi
Dynamic dashboards, where a dashboard is run based on the logged-in user, cannot be scheduled. However, in Lightning Experience, automated dashboard refreshes are not available at all. A Refresh button is provided on the dashboard instead to manually refresh its data. -
Hi
The Federation ID is an additional field contained in the Salesforce interface that allows admins to pick whatever username or username format they want to pass to Salesforce from their user directory for single sign-on. For example, an organization may have a mix of internal employees and contractors in their directory. -
kishan
MemberMarch 2, 2021 at 11:57 am in reply to: When should you change your username in Trailhead playground? -
kishan
MemberMarch 2, 2021 at 10:48 am in reply to: What is the use of Future method in Batch class in Salesforce?Hi
Future Method is one of the options to run asynchronous jobs.We can use future methods for any operation we’d like to run asynchronously in its own thread in the background when system resources become available.Future methods provide higher governor limits.
Future methods are typically used for:Callout to external web services.(Calling web services from triggers.)
Operations which you want to run in their own thread.
Isolating DML operations on different subject types to prevent the mixed DML error. -
Hi
Just like most relational database systems, Salesforce locks records when they are being modified, to prevent two people from updating the same record simultaneously, which would result in a conflict. So when someone “asks” Salesforce to update a record, Salesforce first locks the record so no one else can update it until the lock is released. If someone tries to (asks for an) update the record while it’s locked, Salesforce will try up to 10 times to obtain a record lock, before giving up, and throwing an error.
Record locking errors is a common source of headache for people coding Data Migrations or Integrations with Salesforce. The good news is that most of the time It’s our own integration code that is causing self-contention as opposed to some other user locking the record on us (because we are plowing too many conflicting updates at once, usually in an effort to improve performance). It can also be caused by Salesforce code that is triggered by our updates that require the locks, and then, when not getting them, ultimately fail. Then, that error bubbles up and our updates fail. -
Hi
The scratch org is a source-driven and disposable deployment of Salesforce code and metadata. A scratch org is fully configurable, allowing developers to emulate different Salesforce editions with different features and preferences. You can share the scratch org configuration file with other team members, so you all have the same basic org in which to do your development.Scratch orgs drive developer productivity and collaboration during the development process, and facilitate automated testing and continuous integration. You can use the CLI or IDE to open your scratch org in a browser without logging in. Spin up a new scratch org when you want to:
Start a new project.
Start a new feature branch.
Test a new feature.
Start automated testing.
Perform development tasks directly in an org.
Start from “scratch” with a fresh new org.
-
Hi
Lightning Components are a user interface (UI) framework that is used to create applications for desktop and mobile technologies.
Salesforce Admins deploy these components to construct single-page web applications that provide an end-to-end experience on the platform for a variety of functions.
These pages are optimized for a more interactive user and developer experience. Salesforce Architect Mike wrote in one of his articles that Lightning Components provide “a single, integrated framework for developers to create rich, responsive applications that could be seamlessly “plugged in” anywhere in the UI.”
In practice, this means both your users and customers will have an easier time navigating the interface, streamlining the services Salesforce provides them. Lightning Components can be created, divided, and integrated with other components very easily, which lets you create highly customized pages. Instead of just creating separate components throughout the application, developers can extend lightning web components, allowing new components to be built on one another.
This makes the build and maintenance easier. For example, developer can create a TABS Lightning Component and have it contain other Lightning Components within it such as an ACTIVITY component.