Forum Replies Created

Page 25 of 26
  • Anjali

    Member
    February 4, 2020 at 2:12 pm in reply to: What are the three Main Categories of SalesForce?

    Main categories of Salesforce are-

    1. Administration
    2. Platform Tool
    3. Settings
  • Anjali

    Member
    February 3, 2020 at 1:09 pm in reply to: What is Data Type returned by the Sosl Search in Salesforce?

    SOSL statements return a list of lists of sObjects, where each list contains the search results for a particular sObject type.

    • This reply was modified 4 years, 9 months ago by  Forcetalks.
    • There should only be one trigger for each object.
    • Avoid complex logic in triggers. To simplify testing and reuse, triggers should delegate to Apex classes which contain the actual execution logic.
    • Bulkify any "helper" classes and/or methods.
    • Triggers should be "bulkified" and be able to process up to 200 records for each call.
    • Execute DML statements using collections instead of individual records per DML statement.
    • Use Collections in SOQL "WHERE" clauses to retrieve all records back in a single query
    • Use a consistent naming convention including the object name.

     

    • This reply was modified 4 years, 9 months ago by  Forcetalks.
  • Anjali

    Member
    February 3, 2020 at 12:15 pm in reply to: What is a Salesforce Cross-Object Formula?

    A Cross-object formula is a formula that spans two related objects and references merge fields on those objects. A cross-object formula can reference merge fields from a master (“parent”) object if an object is on the detail side of a master-detail relationship. A cross-object formula also works with lookup relationships.

     

    • This reply was modified 4 years, 9 months ago by  Forcetalks.
  • Lookup record will return only first matching record however to get all matching record, we should use fast lookup. Any data element with prefix “fast” means to work in bulk. As shown in below image we have two flavors of Data element in flow for CRUD operation.Salesforce Flow Data Elements.

  • Anjali

    Member
    January 31, 2020 at 1:00 pm in reply to: How to enable the truncate custom object feature in Salesforce?

    Follow the following steps:

    1. Go to the object management settings for custom objects.
    2. Click an object name to go to the object's detail page, and then click Truncate.
    3. In the Confirm Custom Object Truncate window, review the warning and then enter the name of the object to truncate in the empty field.
    4. Click Truncate.

     

  • This is because of the following reasons:

    1. Are referenced by another object through a lookup field or that is on the master side of a master-detail relationship
    2. Are referenced in a reporting snapshot
    3. Have a custom index or an external ID
    • This reply was modified 4 years, 9 months ago by  Forcetalks.
  • Anjali

    Member
    January 30, 2020 at 1:15 pm in reply to: What is attribute in Salesforce Lightning?

    Component attributes are like member variables on a class in Apex. They are typed fields that are set on a specific instance of a component, and can be referenced from within the component's markup using an expression syntax. Attributes enable you to make components more dynamic.

  • Anjali

    Member
    January 30, 2020 at 1:13 pm in reply to: How to insert ID in the argument in Salesforce Future Method?

    Hello Mohit,

    Here I am providing the syntax, you can understand with this:

    public class Future_Method_Test {@future
    public static void SomeFutureMethod(Id Name)

    {

    Account acc = [Select Id, Name, Phone from Account where Id= :Name];
    System.debug('Account' +acc);

    }
    }

  • Anjali

    Member
    January 30, 2020 at 1:05 pm in reply to: What is V and C in Salesforce Lightning?

    Hi Ayush,

    You are referring this for lightning components in Salesforce, V is for view and C is for Controller.

    -When we use v.abc, we are actually calling value hold by attribute abc.
    - When we use c.xyz, we are calling value return by the controller It can be server-side-controller (.JS controller )or client-side-controller (Apex Class)
    Hence It is called as value providers because they are providing value.

    Hope it helps!

  • This may be happen because you may have not mentioned the api version.

    You may try doing this:

    1. Copy your Class code to notepad
    2. Switch to a new workspace (if you only have the default, create another one)
    3. Switch Back to the workspace you were working on
    4. Copy your notepad saved code to the class
    5. Try to save your code again

  • Anjali

    Member
    January 29, 2020 at 2:10 pm in reply to: What is a blob data type in Salesforce?

    Blob is a collection of binary data stored as a single object. You can convert this data type to String or from String using the toString and valueOf methods, respectively. Blobs can be accepted as Web service arguments, stored in a document (the body of a document is a Blob), or sent as attachments.

  • $A.enqueueAction(action) adds the server-side controller action to the queue of actions to be executed. All actions that are enqueued will run at the end of the event loop. Rather than sending a separate request for each individual action, the framework processes the event chain and batches the actions in the queue into one request. The actions are asynchronous and have callbacks.

  • Anjali

    Member
    January 28, 2020 at 6:02 pm in reply to: Can we create a standard Controller for Custom object in Salesforce?

    Yes, we can create standard controller for custom object in Salesforce, Its upto devlopers' choice.

  • Anjali

    Member
    January 28, 2020 at 5:58 pm in reply to: Define applyBodyTag of Visualforce tag in Salesforce?

    'applyBodyTag' has Boolean attribute type. A Boolean value that specifies whether or not Visualforce should automatically add a <body> tag to the generated HTML output. Set to false to disable adding the <body> tag to the response, for example, when the <body> tag is statically set in your markup. If not specified, this value defaults to the value of the applyHtmlTag attribute if it's set, or true, if applyHtmlTag isn't set.

  • Anjali

    Member
    January 28, 2020 at 5:55 pm in reply to: How many Scheduled Apex job we can have at one time in Salesforce?

    Salesforce provide us to schedule 100 apex job at a time.

  • Anjali

    Member
    January 27, 2020 at 5:19 pm in reply to: What is the use of Custom Settings 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. The custom setting data can then be used by formula fields, validation rules, flows, Apex, and the SOAP API.

  • A roll-up summary field calculates values from related records, such as those in a related list. You can create a roll-up summary field to display a value in a master record based on the values of fields in a detail record. The detail record must be related to the master through a master-detail relationship.

    Please check this link, it has the explaination-  https://help.salesforce.com/articleView?id=fields_about_roll_up_summary_fields.htm&type=5

  • Anjali

    Member
    January 27, 2020 at 5:12 pm in reply to: Why there is a need for Salesforce Custom Objects?

    Custom objects are objects that you create to store information that's specific to your company or industry. The organization's data will always not fit in the standard object, so we can extend and customize many sales force objects to meet this need.

  • Anjali

    Member
    January 24, 2020 at 5:07 pm in reply to: What is alias notation in query in Salesforce?

    Alias notation in SOQL statements are used to distinguish different object used in a single SOQL Statement. To establish the alisa, first we should identify the object and then specify the alias.

  • Anjali

    Member
    January 24, 2020 at 5:00 pm in reply to: What is Data Skew in Salesforce ?

    When a single user is handling over 10,000 records, this particular scenario refer to 'data skew'.

  • Anjali

    Member
    January 24, 2020 at 4:57 pm in reply to: What is skinny table in Salesforce?

    In Salesforce, skinny tables are used to access frequently used fields and to avoid joins.

    Considerations for skinny tables:

    1. Skinny tables can contain a maximum of 100 columns.
    2. Skinny tables cannot contain fields from other objects.
    3. For full sandboxes: Skinny tables are copied to your Full sandbox organizations
  • For searching some word in SOSL query, It must be written inside the curly braces '{}' and remaining syntax of writing the SOSL query remains same as used in Apex.

    • This reply was modified 4 years, 10 months ago by  Anjali.
  • Anjali

    Member
    January 23, 2020 at 1:18 pm in reply to: what is the use of database.saveresult in salesforce?

    Each element in the SaveResult array corresponds to the sObject array passed as the sObject[] parameter in the database method, that is, the first element in the SaveResult array matches the first element passed in the sObject array, the second element corresponds with the second element, and so on. If only one sObject is passed in, the SaveResults array contains a single element.

    To know more you can go through this link- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dev_guide.htm

  • You can get the related records by adding the child relationship name of the account that has look-up relationship and include that in the query.Your query could be like this-

    Select Id, (Select Id FROM Accounts__r) FROM Account

    Hope this helps!

Page 25 of 26