Forum Replies Created

Page 3 of 4
  • Hello Prachi,

    Yes. With the help of lightning:navigate tag and then use the page reference in JS Controller.

  • 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.
  • 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.

     

  • chanchal kumar

    Member
    August 13, 2018 at 8:08 am in reply to: Can we delete a User from Salesforce?

    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.

     

  • 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

  • chanchal kumar

    Member
    August 10, 2018 at 6:16 am in reply to: What is ‘bare repository’ in Git?

    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.

  • hello Anurag,

    By adding record Id in url we can access to that object/field .

  • 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.

  • hello Anurag,

    Execution Governors and Limits:

    • Total heap size Synchronous Limit: 6 MB
    • Asynchronous Limit: 12 MB
    • Email services heap size is 36 MB.
  • 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

    Member
    August 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 5 years, 8 months ago by  Forcetalks.
  • chanchal kumar

    Member
    August 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

    Member
    August 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

    Member
    July 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.

  • 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
  • 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

  • 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();

  • 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 .

  • 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
  • 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

    Member
    July 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.

  • 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.

     

  • hi madhulika,

    system events are fire by system and handle by user, while custom events are fire and handle by user only.

  • 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.

  • 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.
Page 3 of 4