Forum Replies Created

Page 7 of 17
  • Ratnesh

    Member
    June 10, 2020 at 5:51 am in reply to: What are the default filters in salesforce?

    Standard filters are applied by default to most objects. Different objects have different standard filters, but most objects include the standard filters Show Me and Date Field . Show Me filters the object around common groupings (like “My accounts” or “All accounts”).

  • Ratnesh

    Member
    June 9, 2020 at 5:55 am in reply to: What is the limit of data2crm in Salesforce?

    It comes with a limit of 1GB.

  • Ratnesh

    Member
    June 9, 2020 at 5:53 am in reply to: What is appexchange in Salesforce?

    AppExchange is the world's leading business app marketplace. AppExchange apps are customized for Salesforce and extend Salesforce to every department and every industry. It's a proven ecosystem of apps with millions of installs and thousands of customer reviews to help you find the best match for your business.

  • Ratnesh

    Member
    June 9, 2020 at 5:53 am in reply to: What are value providers in Salesforce Lightning in Salesforce?

    Salesforce Lightning Value Providers. Value providers are a way to access data. Value providers encapsulate related values together, similar to how an object encapsulates properties and methods. The value providers for a component are v (view) and c (controller)

  • Main Difference Between ISBLANK And ISNULL in Salesforce. ISBLANK determines if an expression has a value then returns TRUE if it does not. ... ISNULL determines if an expression is null (blank) then returns TRUE if it is. If the expression contains a value, then this function returns FALSE.

  • Ratnesh

    Member
    June 8, 2020 at 6:08 am in reply to: How to schedule a batch class in Salesforce?

    Implement the Schedulable interface in an Apex class that instantiates the class you want to run. From Setup, enter Apex Classes in the Quick Find box, select Apex Classes, and then click Schedule Apex. Specify the name of a class that you want to schedule. Specify how often the Apex class is to run.

  • Ratnesh

    Member
    June 8, 2020 at 6:08 am in reply to: What is Batch Apex in Salesforce?

    The execution logic of the batch class is called once for each batch of records you are processing. Each time you invoke a batch class, the job is placed on the Apex job queue and is executed as a discrete transaction.

  • Ratnesh

    Member
    June 5, 2020 at 6:24 am in reply to: What is Streaming API in Salesforce ?

    Streaming API is your radar. It lets you define events and push notifications to your client app when the events occur. You can use Streaming API to keep your external source in sync with your Salesforce data with PushTopic events and Change Data Capture events.

  • Ratnesh

    Member
    June 5, 2020 at 6:24 am in reply to: What is the use of Javascript Remoting in Salesforce ?

    JavaScript remoting is a tool that front-end developers can use to make an AJAX request from a Visualforce page directly to an Apex controller. JavaScript remoting allows you to run asynchronous actions by decoupling the page from the controller and to perform tasks on the page without having to reload the entire page.

  • Ratnesh

    Member
    June 5, 2020 at 6:23 am in reply to: What is keyset in Apex class in Salesforce means?

    keyset() is a predefined method in map class that returns a set that contains all of the keys in the map.

  • Ratnesh

    Member
    June 4, 2020 at 6:33 am in reply to: What is the use of lightning:navigation in Salesforce?

    Use lightning:navigation component to navigate to a given pageReference or to generate a URL from a pageReference. The following example generates a URL to an Account Object home based on its pageReference and sets the URL on an element.

  • Ratnesh

    Member
    June 4, 2020 at 6:32 am in reply to: Why do we use $A.enqueueAction(action) in Salesforce?

    $A. enqueueAction(action) sends the request the server. More precisely, it adds the call to the queue of asynchronous server calls. That queue is an optimization feature of Lightning.

  • Ratnesh

    Member
    June 4, 2020 at 6:32 am in reply to: What is $Resource global value provider?

    The $Resource global value provider lets you reference images, style sheets, and JavaScript code you've uploaded in static resources. You can use $Resource in Aura component markup and within JavaScript controller and helper code.

  • Ratnesh

    Member
    June 3, 2020 at 6:48 am in reply to: How to cover try catch part in apex test class?

    Example:
    Main Class (Lead Creation Example to cover the catch block)
    public class leadCreationController {
    public Lead objLead;
    public String lastName;
    public LeadCreation() {
    }
    public PageReference newLead() {
    objLead = new Lead(Company = ‘TheBlogReaders’, LastName = ‘TRB’, Status = ‘Open’);
    try {
    insert objLead;
    PageReference pg = new PageReference(‘/’ + objLead.Id);
    pg.setRedirect(true);
    return pg;
    } catch(DMLException e) {
    return null;
    }
    }
    }

    Test Class:
    @isTest
    private class LeadCreationTest {
    @isTest static void leadTest() {
    leadCreationController obj = new leadCreationController();
    try {
    obj.newLead();
    } catch(DMLException e) {
    system.assertEquals(e.getMessage().contains(‘TRB’));
    }
    obj.lastName = ‘Testing’;
    obj.newLead();
    }
    }

  • Ratnesh

    Member
    June 3, 2020 at 6:47 am in reply to: How can we lock record using SOQL in Salesforce?

    In Apex, you can use FOR UPDATE to lock sObject records while they're being updated in order to prevent race conditions and other thread safety problems. While an sObject record is locked, no other client or user is allowed to make updates either through code or the Salesforce user interface.

  • The limitations of Savepoint or Transaction Control in Apex are:
    1.Each savepoint you set counts against the governor limit for DML statements.
    2.Static variables are not reverted during a rollback.
    3.Each rollback counts against the governor limit for DML statements.

  • Ratnesh

    Member
    June 2, 2020 at 6:48 am in reply to: What is card and tiles in Salesforce lightning components?

    A lightning:card is used to apply a stylized container around a grouping of information. The information could be a single item or a group of items such as a related list. Use the variant or class attributes to customize the styling. A lightning:card contains a title, body, and footer.

  • Ratnesh

    Member
    June 2, 2020 at 6:48 am in reply to: What is recordSetVar in Salesforce?

    Hi. The recordSetVar attribute indicates that the page uses a list controller and the variable name of the record collection. This variable can be used to access data in the record collection. For example VF Page: <apex:page standardController="Account" recordSetVar="accounts">

  • Use custom controllers when you want your Visualforce page to run entirely in system mode, which does not enforce the permissions and field-level security of the current user. A controller extension is an Apex class that extends the functionality of a standard or custom controller.

  • When used as action overrides, Lightning components that implement the lightning:actionOverride interface replace the standard behavior completely. However, overridden actions always display as a page, not as a panel. Your component displays without controls, except for the main Lightning Experience navigation bar.

  • Ratnesh

    Member
    June 1, 2020 at 6:39 am in reply to: What is call in and call out in Salesforce?

    An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending a HTTP request from Apex code and then receiving the response. Apex provides integration with Web services that utilize SOAP and WSDL, or HTTP services (RESTful services).

  • Ratnesh

    Member
    June 1, 2020 at 6:38 am in reply to: What is WSDL in Salesforce?

    The Web Services Description Language (WSDL /ˈwɪz dəl/) is an XML-based interface description language that is used for describing the functionality offered by a web service.

  • Ratnesh

    Member
    May 29, 2020 at 6:24 am in reply to: When to use time-dependent workflow in Salesforce?

    Time-dependent actions are executed at a specific time, such as 10 days before a record's close date. When that specific time passes, the workflow rule re-evaluates the record to make sure that it still meets the rule criteria. If the record does, the workflow rule executes those actions.

  • Ratnesh

    Member
    May 29, 2020 at 6:24 am in reply to: What are Queues in Salesforce?

    Queues are groups of users who can own records. All records in Salesforce must have an owner. An owner is a single entity, queues allow for certain objects to have groups of users own the record.

  • Ratnesh

    Member
    May 29, 2020 at 6:23 am in reply to: Can we delete the user in Salesforce?

    In Salesforce you are never able to delete a user. ... So while a user is frozen and once you have cleaned up everything assigned to them, then you should deactivate that user. How to Deactivate A User? From Setup, enter Users in the Quick Find box, then select Users.

Page 7 of 17