Forum Replies Created

Page 10 of 21
  • Hello,

    You can create a custom object with lookup fields to 'Master' and 'Disabled' contacts.
    Then you just need to implement a trigger that merges the two contacts on creation:

    trigger CallMergeOnCreate on Contact_Merger__c (after insert) {
        system.debug(Trigger.new);
        for(Contact_Merger__c oMerger : Trigger.new){
            Database.merge(new contact(Id=oMerger.Master_contact__c), oMerger.Disable_Contact__c,false);
        }
    }

    After that you only need to do a bulk load in that entity using for example dataloader.
    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 9:03 am in reply to: How Can You Define Field Dependency in Salesforce?

    Hello,

    Field dependency means, controlling the value of a field based on the other field. For example, there are two fields called Country & State. I want to display only states related specific selected country when I select the country.

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 8:58 am in reply to: Do We Need A Namespace To Develop Salesforce Lightning Components?

    No, it is not mandatory.

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 8:58 am in reply to: Differenciate between Trigger and Workflow in Salesforce?

    Hello.

    Workflow is a point and clicks Tool which doesn’t need coding. When you want to take actions like Update filed, Email, Outbound message, and create the task from the same object or from child to the parent object(in the master-detail relationship) you can use workflow. You can also perform these action based on time triggers. It’s an automated tool which fires based on Evaluation criteria and rule criteria. Using workflow you can’t create a record.

    A trigger is a programmatic approach which fires when before or after a record is inserted, updated or deleted. Using a trigger you can work on multiple objects. It involves coding you can query and you can perform any DML operation.

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 6:22 am in reply to: How is SaaS beneficial to Salesforce?

    Hello,

    SaaS is subscription-based, so clients can choose not to renew and discontinue using the program at any time without penalty other than not being able to use Salesforce. SaaS is intended to help users avoid heavy initial startup fees and investments. SaaS applications use a simple Internet interface supported by easy integration.

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 6:16 am in reply to: Time-Dependent Workflow – Considerations in Salesforce?

    Following are Time-Dependent Workflow – Considerations -

    1. Maximum of 10-time triggers per rule
    2. Maximum of 40 actions (10 x 4 types) per time trigger, and 80 actions per workflow rule
    3. Workflow default user must be set up before creating time-based rules
    4. Precision limited to hours or days
    5. Cannot convert leads with time-dependent actions in the Workflow Queue
    6. Time triggers cannot be added to or removed from activated workflow rules
    7. Not possible to create a time-dependent action associated to a rule with a trigger type of Every time the record is created or updated

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 5:40 am in reply to: What Are The Different Workflow Actions Available In Salesforce?

    Hello,

    Workflow has following actions-

    1. Create Task
    2. Update Field
    3. Email Alert
    4. Outbound Message
    5. Send actions

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 5:27 am in reply to: Workflow Components available in salesforce?

    Hello,

    Workflow consists of the following components:
    Workflow Rules – trigger criteria for performing various workflow actions
    Workflow Tasks – the action that assigns a task to a targeted user
    Workflow Email Alerts – the action that sends an email to targeted recipients
    Workflow Field Updates – the action that updates the value of a field automatically
    Workflow Outbound Messages – the action that sends a secure configurable API message (in XML format) to a designated listener (not covered in this class)

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 5:25 am in reply to: Explain Workflow in Salesforce?

    Hello,

    “A workflow consists of an orchestrated and repeatable pattern of business activity enabled by the systematic organization of resources into processes that transform materials, provide services, or process information It can be depicted as a sequence of operations, declared as work of a person or group, an organization of staff, or one or more simple or complex mechanisms.

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 5:22 am in reply to: Is Lightning Components replacing Visualforce in Salesforce?

    Hello,

    In my opinion, both the frameworks encompass some pros and cons associated with them. If you are developing for a Salesforce1 mobile app, you should prefer Lightning framework and if you want to create a page-centric experience with limited client-side logic, you must opt Visualforce framework.

    Hope this will help you.

    Thanks.

  • Avnish Yadav

    Member
    September 21, 2018 at 12:40 pm in reply to: What are the drawbacks of JSON in Salesforce?

    Hello,

    Drawbacks of JSON i-

    1. No error Handling calls.
    2. If the dynamic script insertion works, you get called and will get the response perfectly. If not inserted, nothing happens. It just fails silently.

    Thanks.

  • Hello Anurag,

    In both POST and GET you can use parameters in URL.
    The one major and simple difference I will say is the payload (Data/records etc as JSON) which can be passed as a response body in POST where as in GET it is not allowed

    Thanks.

  • Avnish Yadav

    Member
    September 21, 2018 at 12:37 pm in reply to: Is there a limit for data.com records?

    Hello,

    Yes, there is a limit for data.com records and you can check on- Setup -> Licenses & Limits (under Data.com Administration)

    Thanks!

  • Hey,

    We use PUT when you can update a resource completely through a specific resource. For instance, if you know that an article resides at http://example.org/article/1234, you can PUT a new resource representation of this article directly through a PUT on this URL.

    If you do not know the actual resource location, for instance, when you add a new article but do not have any idea where to store it, you can POST it to an URL, and let the server decide the actual URL.

    Thanks.

  • Avnish Yadav

    Member
    September 21, 2018 at 12:02 pm in reply to: Why do we need Security Token in Salesforce?

    Hello Anurag,

    The main feature of the token is to improve the security between Salesforce users and Salesforce.com in the case of a compromised account. Salesforce security token is a case-sensitive alphanumeric key that is used in combination with a password to access Salesforce via API.

    Thanks.

  • Avnish Yadav

    Member
    September 21, 2018 at 11:59 am in reply to: What do you mean by idempotent operation in Salesforce REST API?

    Hello,

    Idempotence is a property that creates identical side effects whether you have one or many results. PUT has this characteristic, while POST creates new resources infinitely. In general, POST works best for resource creation, while PUT handles updates.

    Thanks.

  • Avnish Yadav

    Member
    September 20, 2018 at 1:19 pm in reply to: Difference Between Salesforce Role And Profile?

    Hello,

    Profiles help to control object privileges such as CRED (Create, Read, Edit, Delete). They also contain system permissions that a user can carry out such as exporting data.
    Roles on the other hand help with sharing records across an organization. They work in a hierarchical fashion, giving users access to records that are owned by people lower down in the hierarchy.

    Thanks.

  • Avnish Yadav

    Member
    September 20, 2018 at 1:18 pm in reply to: How Many Custom Fields Can I Create In An Object?

    Hello,

    For Enterprise Edition - 500/ object

    For Professional - 100/ object.

    Thanks.

  • Avnish Yadav

    Member
    September 20, 2018 at 1:09 pm in reply to: List Examples Of Custom Field Types in Salesforce?

    Hello,

    Salesforce supports many different field types. They are autonumber, checkbox, currency, date, time, lookup relationship, master-detail relationship etc.

    Thanks.

  • Avnish Yadav

    Member
    September 20, 2018 at 1:02 pm in reply to: Difference Between Public And Private Cloud?

    Hello,

    Private Clouds
    Infrastructure is hosted on-site or in a service provider’s data center, offering greater levels of control and security. Because components are dedicated entirely to your business, you can customize compute, storage and networking.

    Public Clouds
    Infrastructure is shared by multiple businesses and owned and operated by a service provider, offering fast provisioning. Because you can scale resources to meet demand and pay-as-you-go, it’s a low-cost option for deploying apps.
    Private Cloud: the cloud services used by a single organization, which are not exposed to the public. A private cloud resides inside the organization and must be behind a firewall, so only the organization has access to it and can manage it.
    Public Cloud: the cloud services are exposed to the public and can be used by anyone. Virtualization is typically used to build the cloud services that are offered to the public. An example of a public cloud is Amazon Web Services (AWS).

    Thanks.

  • Avnish Yadav

    Member
    September 20, 2018 at 12:58 pm in reply to: What Is Hybrid Cloud?

    Hello,

    The hybrid cloud merges the benefits of both the private cloud and the public cloud. It delivers the private cloud’s high-security features coupled with the fast connection and easy-to-access features of the public cloud. The official definition from the National Institute of Standards and Technology is “the cloud infrastructure is a composition of two or more distinct cloud infrastructures (private, community, or public) that remain unique entities, but are bound together by standardized or proprietary technology that enables data and application portability.”

    Thanks.

     

  • Hello Chanchal,

    Yes, the user can enter their own custom logo at the time of creation of custom applications.

    Thanks.

  • Avnish Yadav

    Member
    September 19, 2018 at 1:08 pm in reply to: What Are Bucket Fields in Salesforce?

    Hello,

    Bucket field in Reports in Salesforce is used to group values to the name we specify.

    It can group only the below data types fields

    1. Picklist
    2. Number
    3. Text

    Thanks.

  • Avnish Yadav

    Member
    September 19, 2018 at 12:29 pm in reply to: Difference between 'div' and 'span' tags in Salesforce

    Hello,

    Div and span tag is an HTML tag and we use div tag for the division or we say a new line and span tag for in-line content.

    Thanks.

  • Avnish Yadav

    Member
    September 19, 2018 at 12:28 pm in reply to: How many controller extensions we can use in salesforce?

    Hello,

    you can use N number of controller extension in vf page by separting them with commas.

    Thanks.

Page 10 of 21