Shweta
IndividualForum Replies Created
-
writeStringField(): It writes a field name and value pair using the specified field name and the string value.
-
An external data source is a connection to an external database. External data sources usually contain data that does not change very much or data that is too large to bring into the Active Data Cache.
-
1. Go to Setup -> Administration Setup -> Monitoring -> Debug Logs.
2. In the Monitored User, section add your user profile (or the user profile that you are testing the trigger with)
3. Execute your trigger. For example, if you trigger is an "After Insert" trigger on Opportunity, then insert an Opportunity.
4. Go back to the Debug Logs (Step 1 above). Note you may need to refresh this page to see the latest data.
5. In the "Debug Logs" section of this page, you will see the logs. Click on the "View" link next to the log that captured your trigger activity.
6. Once the log loads on a new page, look for a line item that begins with "USER_DEBUG" this will match with your System.debug(). Tip: In your browser in Windows do a search for USER_DEBUG (press CTRL + F) to easily find this line in the logs. -
Shweta
MemberMay 8, 2020 at 1:17 pm in reply to: What is meant by Salesforce connect and what it allow users to do ?Salesforce Connect: It is an exciting new App Cloud integration service that empowers Salesforce users to access and manage data in external apps, whether on-premise or cloud, directly from Salesforce. With Salesforce Connect, your business can be more productive and agile, and deliver new levels of customer success.
-
External objects are similar to custom objects and it's available with Salesforce Connect and Files Connect. Each external object is associated with an external data source definition in your Salesforce organization. It has a reference to its external data source and a table within that source.
-
@testSetup: You can write a method in the test class, with @TestSetUp annotation applied, and create all your common test data in this method. Data created in this method doesn’t need to be created again and again, and it is by default available for all test methods.
-
Advantage of Lightning in Salesforce:
• Modern design for ease of use
• Smart Views for rapid navigation
• More extendable and integrated dashboards
• Drag-and-drop status changes
• Fully customizable homepage
• Lightning Components to extend your capabilities -
Chatter is a real-time collaboration application in Salesforce that lets your users work together, talk to each other, and share information. It connects, engages, and motivates users to work efficiently across the organization, regardless of role or location. Chatter lets users collaborate on sales opportunities, service cases, campaigns, and projects with embedded apps and custom actions.
-
Cross Filter: It is a great way to connect divided data within Salesforce reporting (and also for deduplicating reports too). In this, you can have data displayed from the parent and/or child object influenced by related criteria from another object
-
Shweta
MemberMay 6, 2020 at 6:02 am in reply to: What is difference between Salesforce.com and Force.com?Salesforce.com: It is a Customer Relationship Management (CRM) application developed based on Software as a Service.
Force.com: It is a platform that helps developers and business users to build powerful enterprise applications. It is a PaaS (Platform-as-a-Service) product, it contains a platform for you to build applications. force.com enables you to customize the applications, business logic, and User Interface. -
List Custom Settings: It is very similar to the way custom objects work. It provides a set of static data that can be accessed across your organization. If you want to avoid governor limits, put that data in a list custom setting. And in list custom settings, we can access that data without writing SOQL. Data present in the list settings does not vary with profile or user, because it’s available in organization-wide. It needs to be accessed using a controller.
-
Shweta
MemberMay 5, 2020 at 6:39 am in reply to: What is the benefit of using list custom settings in Salesforce?List Custom Settings: It provides a set of static data that can be accessed across your organization. If you want to avoid governor limits, put that data in a list custom setting. And in list custom settings, we can access that data without writing SOQL. Data present in the list settings does not vary with profile or user, because it’s available in organization-wide.
-
equalsIgnoreCase(secondString): It returns true if the secondString is not null and represents the same sequence of characters as the String that called the method, ignoring case. This method is not case-sensitive.
-
Data Import Wizard makes it easy to import data for many standard Salesforce objects, including accounts, contacts, leads, solutions, campaign members, and personal accounts. You can also import data for custom objects. You can import up to 50,000 records at a time.
-
isNotEmpty() is used to find if the string is not empty and not null. It returns true if the specified String is empty or null otherwise, returns false.
-
Lookup filters are administrator settings that restrict the valid values and lookup dialog results for lookup, master-detail, and hierarchical relationship fields.
-
A report type can be looked at as a template or framework that tells Salesforce which objects/relationships to look at and which fields to grab. It determines which records are included in a report and also which fields can be added to the report.
-
Custom labels are custom text values that can be accessed from Apex classes or Visualforce pages. The values can be translated into any language Salesforce supports. It enables developers to create multilingual applications by automatically presenting information (for example, help text or error messages) in a user’s native language.
-
Custom Setting: Custom settings are alike to custom objects. It is stored in the application cache, which enables efficient access without the cost of multiple repeated queries to the database. So we can avoid governor limits by using this. It allows us to store a set of data and access it without querying it from the apex.
-
Duplicate Record Item: It is a group of records that have been identified as duplicates. Each duplicate record set contains one or more duplicate record items.
-
Federation ID: It is an additional field contained in the Salesforce interface that allows admins to pick whatever username or username format they want to pass to Salesforce from their user directory for single sign-on.
-
SSO (Single Sign-On): It is the process that allows all network users to access all authorized network resources through a single username and password without having different usernames and passwords for every resource in the network.
-
Email-To-Case: It is a standard salesforce feature that allows cases to be created from email. We cannot send emails to any email address and have a Salesforce case created. We need to generate it using Salesforce configuration.
-
Trigger.newMap: It is a map with key as ID of the record and value as the record itself. In case of accounts when we say trigger.newMap we are talking about a map of key-value pairs where the key is the account ID and the value is the account record itself.
Trigger.OldMap: A map of IDs to the old versions of the sObject records. Note that this map is only available in update and delete triggers. -
Shweta
MemberApril 29, 2020 at 1:52 pm in reply to: What is trigger newMap keySet () in Salesforce?Trigger.newMap: It is a map of all records in your trigger. The key used in the map is the record ID, and the value is the record itself.
.keySet() is a method used on maps that returns all the keys of the map. Since the key in the map above is the record ID, you are returned a set of all IDs on your map.