Anjali
IndividualForum Replies Created
-
Anjali
MemberFebruary 4, 2020 at 2:12 pm in reply to: What are the three Main Categories of SalesForce?Main categories of Salesforce are-
- Administration
- Platform Tool
- Settings
-
Anjali
MemberFebruary 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.
-
Anjali
MemberFebruary 3, 2020 at 1:03 pm in reply to: What is a good practice for a Developer to follow while writing a Trigger in Salesforce?- 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.
-
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.
-
Anjali
MemberJanuary 31, 2020 at 1:08 pm in reply to: What is the difference between lookup and fast lookup data elements inflow in Salesforce?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
MemberJanuary 31, 2020 at 1:00 pm in reply to: How to enable the truncate custom object feature in Salesforce?Follow the following steps:
- Go to the object management settings for custom objects.
- Click an object name to go to the object's detail page, and then click Truncate.
- In the Confirm Custom Object Truncate window, review the warning and then enter the name of the object to truncate in the empty field.
- Click Truncate.
-
Anjali
MemberJanuary 31, 2020 at 12:55 pm in reply to: What is the reason for the truncate button is not visible on Salesforce Custom Object?This is because of the following reasons:
- Are referenced by another object through a lookup field or that is on the master side of a master-detail relationship
- Are referenced in a reporting snapshot
- Have a custom index or an external ID
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
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
MemberJanuary 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);}
} -
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!
-
Anjali
MemberJanuary 29, 2020 at 2:26 pm in reply to: How to remove Error: 'Invalid api version:0.0' in Salesforce Developer Console?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 -
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.
-
Anjali
MemberJanuary 29, 2020 at 2:07 pm in reply to: What is the purpose of enqueueAction in helper.js in lightning in Salesforce?$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
MemberJanuary 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
MemberJanuary 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
MemberJanuary 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
MemberJanuary 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.
-
Anjali
MemberJanuary 27, 2020 at 5:17 pm in reply to: What is the use of a Roll-Up Summary Field and where it can be used in Salesforce?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
MemberJanuary 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
MemberJanuary 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.
-
When a single user is handling over 10,000 records, this particular scenario refer to 'data skew'.
-
In Salesforce, skinny tables are used to access frequently used fields and to avoid joins.
Considerations for skinny tables:
- Skinny tables can contain a maximum of 100 columns.
- Skinny tables cannot contain fields from other objects.
- For full sandboxes: Skinny tables are copied to your Full sandbox organizations
-
Anjali
MemberJanuary 23, 2020 at 1:41 pm in reply to: What is the Syntax to Search through SOSL in query Editor in Salesforce?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
MemberJanuary 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
-
Anjali
MemberJanuary 23, 2020 at 12:59 pm in reply to: How to get related list of child account to parent account that has self-relationship in Salesforce?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!