chanchal kumar
IndividualForum Replies Created
-
chanchal kumar
MemberAugust 17, 2018 at 1:26 pm in reply to: How can we navigate from one component to another component in Salesforce?Hello Prachi,
Yes. With the help of lightning:navigate tag and then use the page reference in JS Controller.
-
chanchal kumar
MemberAugust 16, 2018 at 2:31 pm in reply to: How to configure Routing Addresses for Email-to-Case in Salesforce?To configure Routing Addresses for Email-to-Case in salesforce?
- From Setup, enter Email-to-Case in the Quick Find box, then select Email-to-Case.
- In the Routing Addresses list, click New.
- Enter your routing address settings.
- Click Save. A verification email is sent to the routing email address you provided.
- Click the link in the verification email.A confirmation page opens in your web browser.
- Click the link in the confirmation page to continue to Salesforce.
- Configure your email system to forward case submissions to the email services address provided by Salesforce.
-
chanchal kumar
MemberAugust 14, 2018 at 1:36 pm in reply to: How to create Master Details relationship between existing records in Salesforce?Hello Prachi,
First we have to create the lookup relationship then populate the value on all existing record and then convert it into Master Details relationship.
-
Hello Anurag,
You cannot delete users from Salesforce. You can remove their license or deactivate them to remove access to the system,
steps to deactivate a user:
- From Setup, enter Users in the Quick Find box, then select Users.
- Click Edit next to a user’s name.
- Deselect the Active checkbox and then click Save.
-
chanchal kumar
MemberAugust 10, 2018 at 6:23 am in reply to: What is the difference between git pull and git fetch in Salesforce?Hello Prachi
Git pull command pulls new changes or commits from a particular branch from your central repository and updates your target branch in your local repository.
Git fetch is also used for the same purpose but it works in a slightly different way. When you perform a git fetch, it pulls all new commits from the desired branch and stores it in a new branch in your local repository. If you want to reflect these changes in your target branch, git fetch must be followed with a git merge. Your target branch will only be updated after merging the target branch and fetched branch. Just to make it easy for you, remember the equation below:
git pull = git fetch + git merge
-
hello Prachi,
A “bare” repository in Git just contains the version control information and no working files (no tree) and it doesn’t contain the special .git sub-directory. Instead, it contains all the contents of the .git sub-directory directly in the main directory itself, where as working directory consist of:
A .git subdirectory with all the Git related revision history of your repo.
A working tree, or checked out copies of your project files. -
chanchal kumar
MemberAugust 9, 2018 at 9:32 am in reply to: Why do we need to copy Record ID in URL of Visualforce Page while working with Account Records?hello Anurag,
By adding record Id in url we can access to that object/field .
-
chanchal kumar
MemberAugust 9, 2018 at 9:29 am in reply to: Why do we use extensions while creating the Salesforce Visualforce Page?A controller extension is an Apex class that extends the functionality of a standard or custom controller. Use controller extensions when:
- You want to leverage the built-in functionality of a standard controller but override one or more actions, such as edit, view, save, or delete.
- You want to add new actions.
- You want to build a Visualforce page that respects user permissions. Although a controller extension class executes in system mode, if a controller extension extends a standard controller, the logic from the standard controller does not execute in system mode. Instead, it executes in user mode, in which permissions, field-level security, and sharing rules of the current user apply.
It is not compulsory to use extension in every vf page.
-
chanchal kumar
MemberAugust 9, 2018 at 9:19 am in reply to: How much memory is allocated to the variable and methods, while writing a code in Salesforce Apex?hello Anurag,
Execution Governors and Limits:
- Total heap size Synchronous Limit: 6 MB
- Asynchronous Limit: 12 MB
- Email services heap size is 36 MB.
-
chanchal kumar
MemberAugust 8, 2018 at 2:16 pm in reply to: What are the advantages of Trigger Handler in comparison to the normal trigger operation in Salesforce?hello Anurag,
Advantages of trigger Handler are:
- facilitates logic-less triggers and One Trigger Per Object, which itself has many benefits(including fine grained control over order of execution)
- improves readability and Separation of Concerns(this improved readability makes version control more fruitful as well)
- optionally facilitates selective disablement
-
chanchal kumar
MemberAugust 8, 2018 at 2:13 pm in reply to: How to get "mentionSegmentInput.id" in Salesforce Chatter?Hello Shradha,
ID of the user or group to mention. To mention a user, use either id or username. You can’t include both.
To mention a group, you must use id.
- This reply was modified 6 years, 3 months ago by Forcetalks.
-
chanchal kumar
MemberAugust 7, 2018 at 2:44 pm in reply to: What are the drawbacks of JSON in Salesforce?Hello prachi,
Disadvantages of JSON is it has no error handling for JSON calls. If the dynamic script insertion works, you get called and will get the response perfectly. If not inserted, nothing happens. It just fails silently.
-
chanchal kumar
MemberAugust 2, 2018 at 12:39 pm in reply to: What are the best practices for caching in Salesforce REST?best practice for caching in REST?
- Always keep static contents like images, CSS, JavaScript cacheable, with expiration date of 2 to 3 days.
- Never keep expiry date too high.
- Dynamic content should be cached for a few hours only.
-
chanchal kumar
MemberJuly 31, 2018 at 1:41 pm in reply to: What is the use of JSON while working in SalesforceApex?hello Anurag
JSON is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate, system.json have two method serialize() and Deserialization().
You can handle Apex objects similarly to sObjects with the System.JSON class.
-
chanchal kumar
MemberJuly 30, 2018 at 11:16 am in reply to: How to activate Visualforce pages in Lightning experience in Salesforce community?hello Shradha
Step 1: Give Visualforce page access to users by profile
Step 2: Make the Visualforce page available for your community.
- From Setup, enter Visualforce Pages in the Quick Find box, then select Visualforce Pages.
- Click Edit for the page you want to make available for your community.
- Select Available for Lightning Experience, Lightning Communities, and the mobile app and click Save
-
chanchal kumar
MemberJuly 30, 2018 at 11:11 am in reply to: What is the difference between PUT and POST methods of REST API in Salesforce?hello Shradha
HTTP.POST can be used when the client is sending data to the server and the server will decide the URI for the newly created resource, whereas HTTP.PUT can be used when the client is sending data to the server and the client is determining the URI for the newly created resource
-
chanchal kumar
MemberJuly 30, 2018 at 10:56 am in reply to: What are some use cases for using the Schema class in Salesforce?hello Avnish
by Schema class you can retrieve data from server without SOQL query
for eg- get recordTypeId without soql query
Id contRecordTypeId = Schema.SObjectType.Contact.getRecordTypeInfosByName().get('NameOfRecordType').getRecordTypeId();
-
chanchal kumar
MemberJuly 27, 2018 at 12:40 pm in reply to: What is the difference between Production org and Sandbox org in Salesforce?hello Anurag,
In salesforce, when we want to test our project then we use sandbox org, So that we can assure that our project is running smoothly, After testing we deploy our project to production org .
-
chanchal kumar
MemberJuly 27, 2018 at 12:24 pm in reply to: What kind of security is needed for making a callout from apex?There are various ways to secure callouts:
- Restrict the IP Addresses that the web service will accept calls from.
- Use the Salesforce.com Client Certificate (or use your own Cert) to do mutual SSL for the Callout.
- Put a HTTP header into the Callout to use some sort of Basic Auth
- This reply was modified 6 years, 3 months ago by chanchal kumar.
-
chanchal kumar
MemberJuly 26, 2018 at 1:33 pm in reply to: Is it a mandatory requirement to have a namespace to create Lightning components?hello Avnish,
It is not mendetory to have namespace to create Lightning components, because
when org has no namespace, then we write code as:
<aura:component extends="c:myComponent">
while when we have namespace then we write code as:
<aura:component extends="yournamespace:myComponent">
-
chanchal kumar
MemberJuly 24, 2018 at 12:39 pm in reply to: What are responsive email templates in Salesforce?hi shradha
emails are built with a layout which fits well on any screen size, responsive temlates use CSS to resize your emails,
Pardot includes several responsive layouts that you can use to create mobile-friendly email layout templates.
-
chanchal kumar
MemberJuly 24, 2018 at 12:33 pm in reply to: What is Business Unit Management in Salesforce marketing cloud?hi shradha,
the business unit (BU) primarily serves as a container or construct that can be used to separate or share setup and reference data. A business unit typically performs one or many business functions and has a specific place in the organization hierarchy. Usually, each business unit has a manager, strategic objectives, a level of autonomy, and responsibility for its profit and loss.
Use the following procedure to set the profile options.
- Sign in as a setup user and navigate to the Sales implementation project in the Setup and Maintenance work area.
Within the implementation project, click the Setup button. - Search for and select the task, Manage Common CRM Business Unit Profile Options.
- The Manage Common CRM Business Unit Profile Options page shows the two profile options.
- Select the HZ_ENABLE_MULTIPLE_BU_CRM profile option and set it to Yes.
- Click Save and Close.
- Select the HZ_DEFAULT_BU_CRM profile option and set it to the default Sales Cloud business unit.
- Click Save and Close.
- Sign in as a setup user and navigate to the Sales implementation project in the Setup and Maintenance work area.
-
chanchal kumar
MemberJuly 24, 2018 at 12:26 pm in reply to: What is the difference between system event and custom event in Salesforce?hi madhulika,
system events are fire by system and handle by user, while custom events are fire and handle by user only.
-
chanchal kumar
MemberJuly 20, 2018 at 1:20 pm in reply to: What problems you have encountered when calling Salesforce batch apex from a trigger?hi anjali,
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.
-
chanchal kumar
MemberJuly 20, 2018 at 1:08 pm in reply to: What is the difference between apex callout and web services in Salesforce?hi Anurag,
An Apex callout enables you to tightly integrate your Apex code with an external service. The callout makes a call to an external web service or sends an HTTP request from Apex code, and then receives the response.
Apex callouts come in two flavors.- Web service callouts to SOAP web services use XML, and typically require a WSDL document for code generation.
- HTTP callouts to services typically use REST with JSON.