Forum Replies Created

Page 12 of 17
  • Kirandeep

    Member
    May 4, 2020 at 10:14 AM in reply to: What is HasRecordId in salesforce ?

    The force:hasRecordId interface does two things to a component that implements it.

    • It adds an attribute named recordId to your component.
    • When your component is invoked in a record context in Lightning Experience or the Salesforce app, the recordId is set to the ID of the record being viewed.
  • Hi Anuj,
    Yes we can lock record by using FOR UPDATE clause .
    like this :-
    Account[] accts = [SELECT Id FROM Account LIMIT 2 FOR UPDATE];

  • Kirandeep

    Member
    May 1, 2020 at 1:17 PM in reply to: What is Custom Label in Salesforce?

    Custom labels enable developers to create multilingual applications by automatically presenting information (for example, help text or error messages) in a user's native language. Custom labels are custom text values that can be accessed from Apex classes, Visualforce pages, or Lightning components.

  • Kirandeep

    Member
    May 1, 2020 at 1:15 PM in reply to: what is Custom Setting in Salesforce?

    Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. ... This data can then be used by formula fields, validation rules, flows, Apex, and the SOAP API.

  • Kirandeep

    Member
    May 1, 2020 at 1:13 PM in reply to: How long is data stored in the recycle bin in Salesforce?

    Deleted data is only available for 15 days.After 15 days, data is permanently deleted from the Recycle Bin.

  • Kirandeep

    Member
    April 30, 2020 at 11:58 AM in reply to: What is decima.valueOf in Salesforce?

    Hi Marziya ,
    Valueof() is a predefined function of Decimal Class which converts the value into decimal .
    for example :-
    -valueOf(doubleToDecimal)
    Returns a Decimal that contains the value of the specified Double.
    -valueOf(longToDecimal)
    Returns a Decimal that contains the value of the specified Long.
    -valueOf(stringToDecimal)
    Returns a Decimal that contains the value of the specified String. As in Java, the string is interpreted as representing a signed Decimal.

  • Kirandeep

    Member
    April 30, 2020 at 11:47 AM in reply to: What is global variable in Salesforce?

    Global variables are defined as a special type of merge fields provided by the Salesforce referencing the data in your organization. These are used to access and display the user and organization information, perform standard actions on records such as creation, deletion etc

  • Kirandeep

    Member
    April 30, 2020 at 11:39 AM in reply to: What are the different data types used in Salesforce?

    Apex supports the following data types −

    1. Primitive (Integer, Double, Long, Date, Datetime, String, ID, or Boolean)
    2. Collections (Lists, Sets and Maps) (To be covered in Chapter 6)
    3. sObject
    4. Enums
  • Kirandeep

    Member
    April 29, 2020 at 2:02 PM in reply to: How Debug logs use in Salesforce?

    Use of debug logs to track events that occur in your org. Debug logs are generated when you have active user-based trace flags, when you run Apex tests, and when executed code or API requests include debugging parameters or headers.
    To view a debug log, from Setup, enter Debug Logs in the Quick Find box, then select Debug Logs. Then click View next to the debug log that you want to examine. Click Download to download the log as an XML file.

  • Kirandeep

    Member
    April 29, 2020 at 2:01 PM in reply to: Explain the advantages of Salesforce using the SaaS platform ?

    As SaaS is a subscription based, customers can always choose not to renew if they are dissatisfied. Customers can avoid a large initial investment in an IT infrastructure and day to day hustle of maintaining infrastructure. SaaS customer provides same provider infrastructure and also easy integration.

  • Workflow in Salesforce is basically a container or business logic engine which automates certain actions based on particular criteria. If the criteria are met, the actions get executed. When they are not met, records will get saved but no action will get executed.
    A workflow action, such as an email alert, field update, outbound message, or task, fires when the conditions of a workflow rule are met. Email Alert : Email alerts are actions that send emails, using a specified email template, to specified recipients.

  • Kirandeep

    Member
    April 28, 2020 at 1:44 PM in reply to: What is trigger.new in Salesforce?

    Trigger.New is context Variables which returns records in List.
    Trigger.New => works for the New values that are entering either it may be Insert or Update.

  • Kirandeep

    Member
    April 28, 2020 at 1:43 PM in reply to: What is trigger.old in Salesforce?

    trigger.old is context variable which returns records in List's.
    Trigger.Old=>works for the old values that are already in the Fields, it may be to Delete or Update the records

  • Kirandeep

    Member
    April 28, 2020 at 12:32 PM in reply to: What is needed for data mapping in Salesforce?

    In order to figure out how the data needs to be formatted, or mapped, it is essential to build a data mapping document. The data mapping document must include specifically the source and target data mappings. It must also include the primary key of all tables in source system.

  • Kirandeep

    Member
    April 27, 2020 at 4:04 PM in reply to: What is apex test service in Salesforce?

    Test Web Service Callouts. Generated code is saved as an Apex class containing the methods you can invoke for calling the web service. To deploy or package this Apex class and other accompanying code, 75% of the code must have test coverage, including the methods in the generated class. ... setMock method.

  • Kirandeep

    Member
    April 27, 2020 at 3:12 PM in reply to: What is an apex transaction in Salesforce?

    An Apex transaction represents a set of operations that are executed as a single unit. All DML operations in a transaction either complete successfully, or if an error occurs in one operation, the entire transaction is rolled back and no data is committed to the database.

  • Kirandeep

    Member
    April 27, 2020 at 2:01 PM in reply to: What is meant by quick action in Salesforce?

    Quick actions enable users to do more in Salesforce and in the Salesforce mobile app. With custom quick actions, you can make your users' navigation and workflow as smooth as possible by giving them convenient access to information that's most important.

  • Kirandeep

    Member
    April 24, 2020 at 12:10 PM in reply to: What is indirect lookup in Salesforce?

    An indirect lookup relationship is a new field type introduced with Salesforce Connect. It links an external object to a standard or custom object in the same way that a regular lookup relationship links standard or custom objects.

  • Kirandeep

    Member
    April 24, 2020 at 12:07 PM in reply to: What are retrieve and deploy in Salesforce?

    Deploying and Retrieving Metadata. Use the deploy() and retrieve() calls to move metadata (XML files) between a Salesforce organization and a local file system.

  • Hi sumit ,
    No, it is not possible to edit apex classes and triggers directly in production environment. It needs to be done first in Developer edition or testing org or in Sandbox org. ... However, Visualforce pages can be created and edited in both sandbox and in production.

  • Kirandeep

    Member
    April 23, 2020 at 1:24 PM in reply to: What is the use of an outbound message in Salesforce?

    Outbound messaging allows you to specify that changes to fields within Salesforce can cause messages with field values to be sent to designated external servers. Outbound messaging is part of the workflow rule functionality in Salesforce.

  • Kirandeep

    Member
    April 23, 2020 at 1:22 PM in reply to: What are Governor Limits in Salesforce?

    Apex runtime engine strictly enforces limits to ensure that runaway Apex code or processes don't monopolize shared resources.

  • Types of Constructor in Apex programming.
    Default Constructor.
    Non-parameterized Constructor.
    Parameterized Constructor.

  • Kirandeep

    Member
    April 22, 2020 at 2:18 PM in reply to: What is remote action in Salesforce?

    Remote action function in salesforce allows user to access any method from any class through javasrcipt methods, and get the result as a javascript object for further manipulation. ... Remote action method should have @RemoteAction annotation

  • Custom Settings have the same permission to edit the records and to edit the configuration. Both can be done with the "Configure Application" permission. With Custom Metadata, you can edit the records with "Configure Application" but you require "Author Apex" to edit the configuration.

Page 12 of 17