MOHIT
IndividualForum Replies Created
-
MOHIT
MemberFebruary 18, 2020 at 11:24 am in reply to: How can we create a Push Topic in the Salesforce?Push Topics are a connection between Salesforce and CxEngage that recognize when there is a new email message in Salesforce and sends that information to CxEngage.
Creating a Push Topic
Go to https://workbench.developerforce.com/.
Select either Production or Sandbox depending on which environment your Salesforce organization is in.
Click Login with Salesforce.Make sure that you log in with the same Salesforce account for the Salesforce organization that you are setting up with the integration.
Go to data > Insert.
For Object Type, select PushTopic.
Select Single Record.
Click Next.
For the PushTopic field values enter:ApiVersion: 35.0
Name: Enter the name you want for the Push Topic.
NotifyForFields: Referenced
NotifyForOperationCreate: false
NotifyForOperationDelete: false
NotifyForOperationUndelete: false
NotifyForOperationUpdate: true
Query: SELECT Id, <Custom Field API name> FROM Case WHERE OwnerID = '<queue ID>'For help finding the API name for the Last Email Received custom field that you created, see Find the API name of a field.
Enter the queue ID for the queue that owns the incoming cases. This is the same ID that you used in the workflow rule.
For example, if the API name for your Last Email Received custom field is LastEmail__c and your queue ID is 00G22000000R4PB, your query is:SELECT Id, LastEmail__c FROM Case WHERE OwnerID = '00G22000000R4PB'
Click Confirm Insert.
-
Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches. Salesforce processes batches in the background.
SOAP API, in contrast, is optimized for real-time client applications that update a few records at a time. You can use SOAP API for processing many records, but when the data sets contain hundreds of thousands of records, SOAP API is less practical. Bulk API is designed to make it simple to process data from a few thousand to millions of records.
The easiest way to use Bulk API is to enable it for processing records in Data Loader using CSV files. Using Data Loader avoids the need to write your own client application.
-
MOHIT
MemberFebruary 18, 2020 at 11:21 am in reply to: What are the tools included in lightning in Salesforce ?The tools included in lightning are:
Browser: Google Chrome
Browser Debugger: Chrome DevTools
DevTools Extension: Salesforce Lightning Inspector
Editor: Force.com IDE -
When importing custom objects, solutions, or person accounts, you can use external IDs to prevent duplicate records from being created as a result of the import operation. An external ID is a custom field that has the “External ID” attribute, meaning that it contains unique record identifiers from a system outside of Salesforce. When you select this option, the import wizard will detect existing records in Salesforce that have the same external ID. Note that this operation is not case-sensitive - for example, “ABC” will be matched with “abc”. However, there is an exception: if the custom field has the separate “Unique” attribute and the case-sensitive option for that attribute is selected, uppercase and lowercase letters will not be considered identical.
The fields with below data types can only be external Id
1. Number
2. Text
3. EmailWhen a field is made as an external Id, the field will be automatically indexed. 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.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
MOHIT
MemberFebruary 16, 2020 at 5:47 pm in reply to: How many Callouts we can call in Batch Apex in Salesforce?It's per each call of execute() in the batch, so for each "batch", you can call up to 10 HTTP callouts.
If the callout can handle multiple records at a time, do so, and batch up to 10 callouts per batch, otherwise, set the batch scope to 1, so each apex batch handles one record at a time.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
A fiscal year or financial year is a period of time used to calculate annual (yearly) financial statements in businesses and other organizations. The system administrator can set the fiscal year for your organization. The fiscal year settings are used to report on the fiscal year timeline.
Salesforce supports two types of fiscal years:
Standard fiscal year
Custom fiscal year- This reply was modified 4 years, 9 months ago by Forcetalks.
-
MOHIT
MemberFebruary 16, 2020 at 5:44 pm in reply to: What is the maximum number of external IDs an object may have in Salesforce?You can designate up to 25 External ID fields per object.
External ID fields must be Custom text, number or email fields.
External ID fields contain record IDs from systems outside Salesforce.
You can use the upsert call to match against External ID fields during import or integration.
External ID fields are indexed, so selective filters on them should run quickly.- This reply was modified 4 years, 9 months ago by Forcetalks.
-
MOHIT
MemberFebruary 16, 2020 at 5:38 pm in reply to: How to recover the deleted data in Salesforce?Salesforce Record data has three stages of deletion. Data is recovered depending on the stage it is in.
Stage 1 - Deleted to Recycle Bin - Data in this stage can be recovered from the Recycle Bin. This can also be referred to as soft-deleted.
To find and restore records in the Recycle Bin:
On the left side of the homepage in CRM, click on the Recycle Bin.
Change the drop down to All Recycle Bin.
Search for the records.
Select the record and click Undelete.Stage 2 - Emptied from the Recycle Bin or hard-deleted - Data in this stage cannot be recovered from the Recycle Bin but can be accessed via the workbench.
To find and restore records using the Salesforce workbench:
Prior to running the search query, Select Include under Deleted and archived records.
Once the Id for the record is located, choose Undelete from the data drop-down at the top of the page.
Enter the Id and follow the prompts on the screen to restore the record.
Stage 3 - Physically or Permanently deleted - Data in this stage is deleted from the database and only recoverable by contacting Salesforce to request a Data Recovery Service (There is a fee associated with this service). -
MOHIT
MemberFebruary 16, 2020 at 5:34 pm in reply to: How does many-to-many relationship is established in Salesforce?You can use master-detail relationships to model many-to-many relationships between any two objects. A many-to-many relationship allows each record of one object to be linked to multiple records from another object and vice versa. For example, you create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple causes and a case could also be related to multiple bugs. When modeling a many-to-many relationship, you use a junction object to connect the two objects you want to relate to each other.
Junction Object
A custom object with two master-detail relationships. Using a custom junction object, you can model a “many-to-many” relationship between two objects. For example, you create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple cases and a case could also be related to multiple bugs.- This reply was modified 4 years, 9 months ago by Forcetalks.
-
MOHIT
MemberFebruary 14, 2020 at 8:52 am in reply to: What is RestContextClass in RestAPI in Salesforce?Use the System.RestRequest class to access and pass request data in a RESTful Apex method. An Apex RESTful Web service method is defined using one of the REST annotations. For more information about Apex RESTful Web service, see Exposing Apex Classes as REST Web Services.
-
MOHIT
MemberFebruary 14, 2020 at 8:50 am in reply to: What is the use of batch http method in Salesforce?Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches. Salesforce processes batches in the background.
SOAP API, in contrast, is optimized for real-time client applications that update a few records at a time. You can use SOAP API for processing many records, but when the data sets contain hundreds of thousands of records, SOAP API is less practical. Bulk API is designed to make it simple to process data from a few thousand to millions of records.
The easiest way to use Bulk API is to enable it for processing records in Data Loader using CSV files. Using Data Loader avoids the need to write your own client application.
-
In Salesforce a 'callout' is any https call that accesses an external URL -- some other webservice or website. A 'callin' would be the opposite -- some external web service or application using the Salesforce API to access Salesforce data.
-
Static resources allow you to upload content that you can reference in a Visualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files.
Using a static resource is preferable to uploading a file to the Documents tab because:
You can package a collection of related files into a directory hierarchy and upload that hierarchy as a .zip or .jar archive.
You can reference a static resource in page markup by name using the $Resource global variable instead of hard-coding document IDs: -
MOHIT
MemberFebruary 14, 2020 at 8:42 am in reply to: What are the tools included in lightning in Salesforce?The tools included in lightning are:
Browser: Google Chrome
Browser Debugger: Chrome DevTools
DevTools Extension: Salesforce Lightning Inspector
Editor: Force.com IDE -
You can mix and match only licenses of the same edition within a single org for Sales Cloud, Service Cloud, and Force.com editions.
For instance, I could add Professional Edition Service Cloud licenses to an org with existing Professional Edition Sales Cloud licenses. However, I could not add Enterprise Edition Service Cloud licenses to an existing org with Professional Edition Sales Cloud licenses.
It is often possible to purchase specific features of other editions, rather than upgrading outright. For example, workflow rules are available in Professional Edition for an additional cost.
-
MOHIT
MemberFebruary 14, 2020 at 8:37 am in reply to: What is the use of <lightning:recordViewForm > in Salesforce ?A lightning:recordViewForm component enables you to display read-only record data with one or more fields and labels associated with that record. You can customize the form layout or provide custom rendering of record data.
To create read-only fields, use the lightning:outputField component inside lightning:recordViewForm.
lightning:recordViewForm requires a record ID to display the fields on the record. It doesn't require additional Apex controllers or Lightning Data Service to display record data. This component also takes care of field-level security and sharing for you, so users see only the data they have access to.
-
MOHIT
MemberFebruary 11, 2020 at 6:54 pm in reply to: What is the Difference between isBlank and isNull in Salesforce?ISBLANK determines if an expression has a value then returns TRUE if it does not. If an expression contains a value, then this function returns FALSE.Whereas,
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. -
MOHIT
MemberFebruary 11, 2020 at 6:50 pm in reply to: How many objects can be created in Salesforce?Hi,
The limit of custom objects in Enterprise Edition is 200.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
Global publisher layouts determine the global actions that appear in the various Salesforce interfaces. In Salesforce Classic and Lightning Experience, these layouts customize the actions on global pages (like the Home page) and on the Chatter page. Lightning Experience also uses these layouts to populate the Global Actions menu. And in the Salesforce app, these layouts drive the actions that appear in the action bar on the Feed and People pages. Global publisher layouts can include global actions only.
In Salesforce for Outlook, global publisher layouts drive the actions that Group, Contact Manager, and Professional Edition users see when they click the Salesforce Side Panel Publisher.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
SOQL has very limited aliasing support. We can alias the table, e.g. SELECT a.name FROM Account a, but that's of very little use. In most contexts, we cannot alias fields.
The one exception is for queries that use aggregations, like SELECT COUNT(Id) recordcount FROM Account allows us to alias the result of the aggregation from it's default expr0 to recordCount.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
MOHIT
MemberFebruary 11, 2020 at 6:38 pm in reply to: Can a trigger make a call to the Apex Callout Method in Salesforce?callouts cannot be made from apex triggers as that restricts database transaction until the callout is completed and the time limit for this is up to 120 seconds.
The only way to execute a callout from a trigger is to run it asynchronously and this can be achieved by executing a method with the @future method.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
MOHIT
MemberFebruary 11, 2020 at 6:19 pm in reply to: What is SVG in Salesforce Lightning Component Framework Bundle?Custom icon resource for components used in the Lightning App Builder or Experience Builder.
- This reply was modified 4 years, 9 months ago by Forcetalks.
-
A lightning:accordion component displays a collection of vertically stacked sections with multiple content areas.
-
MOHIT
MemberFebruary 11, 2020 at 6:16 pm in reply to: What is renderer in Lightning Component Framework bundle in Salesforce?Client-side renderer is to override default rendering for a component.
-
MOHIT
MemberFebruary 10, 2020 at 6:10 pm in reply to: What is the limit of lookup relationship per object in Salesforce?The absolute limit that you can request is 50. Each custom object can have up to two master-detail relationships and many lookup relationships. Each relationship is included in the maximum number of custom fields allowed. The Total relationship field included lookup can be 40 by default.