Forum Replies Created

Page 1 of 21
  • Hello Muhammad,

    I go through your code and find errors on implementation of the batch class:-

    You are querying two objects in Database.query() which not possible in salesforce.

    Solution -You can create an internal query if your Lead object and Opportunity object are related. (use carefully)

    Thanks.

  • Avnish Yadav

    Member
    October 17, 2018 at 12:42 pm in reply to: What is Salesforce IQ?

    Hello,

    SalesforceIQ is based on Relate IQ, software described as a relationship intelligence platform, which Salesforce acquired in 2014. SalesforceIQ for Small Business lacks the complexity and customization options of the company's higher-end offering but provides an affordable and easily-deployed solution for small and medium-sized businesses (SMB) without the resources to support Salesforce's enterprise-level products.

    Thanks.

  • Avnish Yadav

    Member
    October 17, 2018 at 12:40 pm in reply to: List types Natively supported by Salesforce JSON?

    Hello,

    JSON supports Objects, Arrays, Primitives (strings, numbers, boolean values (true/false), null) data types.
    Thanks.

  • Hello,

    If you use the External Data API: 40 GB. Maximum file size per external data upload If you use the user interface: 512 MB

    Thanks.

  • Avnish Yadav

    Member
    October 3, 2018 at 7:03 am in reply to: What is IaaS in Salesforce?

    Hello,

    Cloud infrastructure services, known as Infrastructure as a Service (IaaS), are self-service models for accessing, monitoring, and managing remote datacenter infrastructures, such as compute (virtualized or bare metal), storage, networking, and networking services (e.g. firewalls). Instead of having to purchase hardware outright, users can purchase IaaS based on consumption, similar to electricity or other utility billing.

    Thanks.

  • Avnish Yadav

    Member
    October 3, 2018 at 7:00 am in reply to: What is a block, an element and a modifier in SLDS?

    Hello,

    A block represents a high-level component (e.g. .car)
    An element represents a descendant of a component (e.g. .car__door)
    A modifier represents a particular state or variant of a block or element (e.g. .car__door_red)

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 1:50 pm in reply to: What are the limitations of Lightning Experience in Salesforce?

    hi,

    Limitations

    Information about an org’s Salesforce edition isn’t visible in Lightning Experience.
    Langauages that are read from right to left,including Arabic are not supported in it.
    Advanced currency management, or dated exchange rates, isn’t supported in general. But opportunities display the correct amount if the Close Date field is on a page layout for opportunities.Because page layouts control who sees what on object records, only users who have this page layout assigned to them see the correct amount.

  • Hello shradha,

    Types of custom events:-

    Component-Level Events
    Component-level events are generated by a component and can be handled by the component itself, or its containing component or application.

    <!–c:ceEvent–>
    <aura:event type=”COMPONENT”>
    <aura:attribute name=”message” type=”String”/>
    </aura:event>

    Application-Level Events
    Application-level events are published by a component, and any component or application that has subscribed to the event has its handler invoked when the event is fired.

    <!–c:aeEvent–>
    <aura:event type=”APPLICATION”>
    <aura:attribute name=”message” type=”String”/>
    </aura:event>

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 12:35 pm in reply to: When to use SOAP API in Salesforce?

    hi,

    You can use SOAP API  when you need to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more.

     

  • hi,

    External ID in salesforce is unique identifier for data used from outside world.Using an auto-number field avoids case-sensitive ID values that might otherwise confuse systems not designed to handle such ID values, like Excel (which is, by default, case sensitive).

     

  • hi,

    Question-to-Case Overview: Question-to-Case lets moderators create cases from questions in Chatter, which makes it easier to track and resolve your customers’ issues. Question-to-Case is available in the full Salesforce site and Salesforce mobile web, as well as in communities where Chatter Questions is enabled.Chatter Questions lets customers ask questions in the feed in communities and in your Salesforce organization. With Question-to-Case, you can now give moderators the ability to escalate questions in Chatter to cases, making it easier to track and resolve your customers’ issues.
    Question-to-Case is available in the full Salesforce site and the Salesforce1 mobile browser app, as well as in communities where Chatter Questions is enabled. You can add it to your Salesforce organization, your communities, or both!

  • Avnish Yadav

    Member
    September 30, 2018 at 12:28 pm in reply to: Explain Render and Rerender in Salesforce Lightning.

    hi,

    render

    render : function(component, helper) {
    var ret = this.superRender();
    // custom rendering logic here
    return ret;}

    rerender

    rerender : function(component, helper){
    this.superRerender();
    // custom rerendering logic here
    }

  • Avnish Yadav

    Member
    September 30, 2018 at 5:43 am in reply to: What is Time-Dependent Workflow in Salesforce?

    The basic rule configuration is the same, but for time-based rules, you configure time-triggers in the time-dependent actions section. Each time trigger can execute one or more Workflow actions.

  • Hello,

    The “View All” and “Modify All” permissions ignore sharing rules and settings, allowing administrators to grant access to records associated with a given object across the organization. “View All” and “Modify All” can be better alternatives to the “View All Data” and “Modify All Data” permissions.
    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 5:38 am in reply to: Why do we use interface in Salesforce Apex Class?

    Hello,

    Let see an scenario,

    For example, implementing the Schedulable interface guarantees that System.schedule knows how to run the code inside of the class, while implementing Comparable allows List.sort to know how to sort a collection of that object. This allows a given method to know how to interact with objects that may well be implemented after the original code was written. Without interfaces, you'd have to write a new copy of a given algorithm for every new data type.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 5:35 am in reply to: What is Salesforce Shield?

    Hello,

    Salesforce Shield is a set of point and click tools that provides extra level of security to meet internal and regulatory compliance. This includes Platform Encryption, Event Monitoring and Field Audit Trail, outlined below.

    Thanks.

  • Hello,

    When using custom controller you may or may not create constructor as a default constructor is always present when you ceate any class.
    Thanks.

  • Hello,

    You can call a batch from a trigger, but you need to be aware of potential limits you could hit. You can only have 5 batch jobs queued or executing at once. If your trigger calls batch jobs each time, then you could quickly exceed that limit.

    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 5:30 am in reply to: How to send email using javascript on Salesforce Visualforce Page?

    Hello,

    You can create simple js method
    `

    function sendEmail() {
    // put code here
    }

    `
    and add to command button onclick event
    `
    onclick="sendEmail()"
    `
    And why you want implement requirement without controller?

  • Avnish Yadav

    Member
    September 30, 2018 at 5:28 am in reply to: Difference between External ID & Unique ID in Salesforce?

    Hello,

    They can then refer to that ID field, rather than the Salesforce id. Additionally, if you have an external ID field, the field becomes searchable in the sidebar search. You also can use the upsert API call with the external ID to refer to records

    Thanks.

  • Hello,

    If a dashboard or report is deleted its placed into the recycle bin where it's possible to restore them. However, once a dashboard or report has been emptied from the recycle bin or hard deleted it's not possible to restore or undelete it and there's no way for customers or Support to recover it.

    Thanks.

  • I suggest you to use OPEN CTI unmanaged package from salesforce it is supported by Lightning and classic both.

    Thanks.

  • Hello,

    Use the ContentVersion-

    List<ContentVersion> listDoc = [select id, Title, Description from ContentVersion];

    Thanks.

  • The following should do the trick, with the assumption that your locale for currency formatting is correct. Edited to handle null being passed, and zero values after the decimal.
    `
    public static String currency(String input) {
    if ( input == null ) {
    return '0.00';
    }

    Decimal d1 = Decimal.valueOf(input).setScale(2);
    String str = d1.format();
    if( !str.contains('.' ) ) {
    str = str + '.00';
    }

    return str;
    }
    `
    Thanks.

  • Avnish Yadav

    Member
    September 30, 2018 at 5:11 am in reply to: What is the process to become a Salesforce Trailblazer?

    Hello,

    You have to complete Trails and earn badges then you can also become the trailblazer.

    Thanks.

Page 1 of 21