Forum Replies Created

Page 5 of 7
  • Hi Piyush,

    By default, the Grant Access Using Hierarchies option is enabled for all objects, and it can only be changed for custom objects. It can't be changed for standard object.

    Thanks.

  • Prachi

    Member
    September 24, 2019 at 5:09 am in reply to: How many ways we can made field is required in Salesforce?

    Hi,

    There are various ways to make field required in salesforce-

    1.Make the field “Required” at the time of field creation by checking the “Required” check box.
    2.Make the field Required through Page Layout by checking the “Required ” checkbook in Field Properties.
    3.Validation Rules can also be used to make the field mandatory. In Error Condition Formula, one can use ISBLANK(“FieldName”);.
    4.Triggers can be used to make field mandatory. Ex. If a user try to insert the record without the field which is required, we can throw the page massage specifying to fill up required fields.(Using Trigger.addError()).
    5.One can make field mandatory through Visualforce.(If the field is getting referenced) by setting the required attribute in <apex:inoutField> to True.

    Thanks.

  • Hi ,

    It depends on your role hierarchy not where the user is physically based. Place all the territory users in terriroty based roles. Then use Sharing-Settings, set your Org-Wide Defaults for the required objects to Private, check for role-hierarchical sharing, and start criteria based sharing settings to open up the privacy.

    Example:
    1. Account's Billing Country = United States, Canada, Mexico assign to the "North America Role & Suboridnates"
    2. Account's Billing Country = India, Pakistan, China, etc... assign to the "Asia Role & Subordinates"
    3. Continue the logic as above

    Listing every country would be time-consuming though, so you could even already have a field for "Territory" on the Account object as well that has the defined regions (North America, South America, Asia, Oceania, Europe...) and make rules based off that.

    Thanks.

    • This reply was modified 5 years, 2 months ago by  Prachi.
  • Prachi

    Member
    September 23, 2019 at 4:32 pm in reply to: How do I make a dependent field mandatory in Salesforce?

    Hi Deepak,

    You can make a dependent field in salesforce mandatory by either changing the page layout or by creating a validation rule.

    Thanks.

  • Hi Laveena,

    apex:pageBlockTable-

    1) uses salesforce styling
    2) No need to specify the headers
    3) mandatory attribute "value".

    apex:dataTable-

    1) Need to specify the headers
    2) we can specify custom style classes.
    3) No mandatory attribute "value" unlike in pageblockTable

    Thanks.

  • Prachi

    Member
    September 23, 2019 at 12:58 pm in reply to: What are the default indexed fields in Salesforce?

    Hi Laveena,

    Fields that are automatically indexed in Salesforce are:

    1.RecordTypeId
    2.CreatedDate
    3.Systemmodstamp (LastModifiedDate)
    4.Name
    5.Email (for contacts and leads)
    6.Foreign key relationships (lookups and master-detail)
    7.The unique Salesforce record ID, which is the primary key for each object.
    8.Division

    Thanks.

  • Prachi

    Member
    September 23, 2019 at 11:38 am in reply to: When should we use Component event and application events in Salesforce?

    Hi,

    Component events are used to do communication between child and parent. They use bubbling and capture same as used in DOM events. A change in a child component can be communicated to the parent component via component event.

    Application events are used to communicate any change in the component to a broader audience. Any component who has registered for this event will get a notified.

    Thanks.

  • Prachi

    Member
    September 23, 2019 at 10:55 am in reply to: What is RestResource Annotation means in salesforce ?

    Hi,

    The @RestResource annotation is used at the class level and enables you to expose an Apex class as a REST resource.

    These are some considerations when using this annotation:

    1.The URL mapping is relative to https://instance.salesforce.com/services/apexrest/.
    2.A wildcard character (*) may be used.
    3.The URL mapping is case-sensitive. A URL mapping for my_url will only match a REST resource containing my_url and not My_Url.
    4.To use this annotation, your Apex class must be defined as global.

    Thanks.

     

  • Prachi

    Member
    September 20, 2019 at 12:34 pm in reply to: Is there a way for the mentioned requirement in salesforce?

    Hi Laveena,

    Yes,  there is a way in Apex to send an email and replace the default from email address ([email protected]) using either the setSenderDisplayName or setOrgWideEmailAddressID methods on the SingleEmailMessage or MassEmailMessage classes.

    Thanks.

     

  • Prachi

    Member
    September 9, 2019 at 12:30 pm in reply to: What all data types can a set store in Salesforce?

    Hi Achintya,

    A set can store the following data types in salesforce-

    1.primitive types

    2.collections

    3.sObjects

    4.user-defined types

    5.built-in Apex types.

    Thanks.

  • Prachi

    Member
    September 9, 2019 at 7:46 am in reply to: How many records can a SOSL query return in Salesforce?

    Hi,

    SOSL query returns 2000 records .

    Thanks.

  • Prachi

    Member
    September 9, 2019 at 6:39 am in reply to: What is an audit trail in salesforce?

    Hi,

    The Setup Audit Trial is on the Organization level, Field History Tracking is on the Object level. The setup audit trail history helps you track the recent setup changes that you and other administrators have made to your organization. This can be especially useful in organizations with multiple administrators.

    Thanks.

     

  • Prachi

    Member
    September 9, 2019 at 3:51 am in reply to: For which workflow we can not create a Time-Dependent action?

    Hi,

    Time dependent actions in workflow rules can not be added when the following actions takes place-

    1.When workflow rule is active.
    2.When workflow rule is deactivated and has pending actions in the queue.
    3.When the workflow rule criteria of a record is set to: created, and every time it’s edited.
    4.When the workflow rule is included in a package.

    You can’t add time-dependent actions to a rule if you choose Every time a record is created or edited.

    Thanks.

     

  • Prachi

    Member
    September 6, 2019 at 5:11 am in reply to: What is Salesforce Live Agent?

    Hi,

    Salesforce Live Agent is a native Salesforce tool that provides the ability to communicate in real-time with your web site users.

    Live Agent is superb for those who have a limited size support team but want to extract maximum return and effectiveness from them. Unlike a phone call, where one agent can only manage one customer at a time, using Live Agent each user can be partaking in numerous simultaneous customer interactions from just the one screen. It can also be an effective way to alleviate pressure from a struggling phone support team by diverting some customer traffic to an alternative channel.

    Thanks.

  • Prachi

    Member
    September 6, 2019 at 5:07 am in reply to: What is Data Skew in Salesforce?

    Hi,

    In Salesforce when large number of child records (more then 10k) are linked to one parent records that situation is called data skew in Salesforce.

    Thanks.

  • Prachi

    Member
    September 6, 2019 at 4:55 am in reply to: What are Skinny Tables in Salesforce?

    Hi,

    A skinny table is a custom table in the Force.com platform that contains a subset of fields from a standard or custom base Salesforce object. Force.com can have multiple skinny tables if needed, and maintains them and keeps them completely transparent to you.

    Skinny tables are most useful with tables containing millions of records. They can be created on custom objects, and on Account, Contact, Opportunity, Lead, and Case objects. In addition, they can enhance performance for reports, list views, and SOSL.

    Salesforce creates skinny tables to contain frequently used fields and to avoid joins, and it keeps the skinny tables in sync with their source tables when the source tables are modified.

    kinny tables can contain the following types of fields.

    1.Checkbox
    2.Date
    3.Date and time
    4.Email
    5.Number
    6.Percent
    7.Phone picklist
    8.Picklist (multi-select)
    9.Text (fewer than 80 characters)
    10.Text area
    11.Text area (long)
    12.URL

    Thanks.

  • Prachi

    Member
    August 28, 2019 at 5:04 am in reply to: What is approval process in salesforce?

    Hi Laveena,

    Salesforce approval process is an automated process and your organization can use to approve records in Salesforce, An approval process is combination of steps for a record to be approved and person has to approve it each step.A step can apply to all the records to that object or just record that meets the certain criteria. An approval process also specifies the actions to take when a record is approved, rejected, recalled, or first submitted for approval.

    Thanks.

  • Prachi

    Member
    August 28, 2019 at 4:59 am in reply to: List out different methods of ProjectionNode class in Salesforce?

    Hi Laveena,

    The following are methods for ProjectionNode.
    1. sum()
    Returns the sum of a numeric field.

    Signature-
    public wave.ProjectionNode sum()

    2. avg()
    Returns the average value of a numeric field.

    Signature-
    public wave.ProjectionNode avg()

    3. min()
    Returns the minimum value of a field.

    Signature-
    public wave.ProjectionNode min()

    4. max()
    Returns the maximum value of a field.

    Signature-
    public wave.ProjectionNode max()

    5. count()
    Returns the number of rows that match the query criteria.

    Signature-
    public wave.ProjectionNode count()

    6. unique()
    Returns the count of unique values.

    Signature-
    public wave.ProjectionNode unique()

    7. alias(name)
    Define output column names.

    Signature-
    public wave.ProjectionNode alias(String name)

    Thanks.

    • This reply was modified 5 years, 3 months ago by  Prachi.
    • This reply was modified 5 years, 3 months ago by  Prachi.
  • Hi Deepak,

    There are a lot of fundamental differences between Visualforce Page and Lightning Components:-

    Visualforce Page:
    1. Page-Centric Model.
    2. Most of the processing takes place on the server-side.
    3. Applications are divided into pages and each page is an independent entity.
    4. The server connects different Vf pages so that they can share data.
    5. Primarily for Desktop.
    6. Interactivity limited without javascript.

    Lightning Component :
    1. App-Centric Model.
    2. As server calls are expensive, we call the server methods only when it is absolutely necessary and rest of the manipulations are performed on client-side using Javascript.
    3. Applications are built with components and multiple components assembled together to form an app.
    4. Events, Attributes, and Methods can help communication between two Lightning components.
    5. Supports Desktop and Mobile both.
    6. Highly interactive and has javascript built right in.

    Thanks.

  • Prachi

    Member
    August 28, 2019 at 4:16 am in reply to: What is the use of ltng:require in lightning component in Salesforce?

    Hi Deepak,

    ltng:require is used to refer javascripts and CSS only from static resource and we can decide sequence in which javascript should be loaded.

    Thanks.

  • Hi Lavish,

    Salesforce is one of the largest and most popular cloud platform providers in the world. It  is a CRM or customer relationship management platform. As a CRM, it can enhance your business relationships with prospects and customers. It is software where an organization or a company uses to know all aspects of a company's sales and customer contact.

    The companies are using this platform because of the following benefits-

    1. Salesforce promotes alignment
    Internally, Salesforce helps companies promote alignment between teams. With a tool like Salesforce, different teams or departments will have a single source of truth. It improves collaboration. It also minimizes the usual problem of miscommunication inside the company.
    2. Salesforce helps to provide personalized interactions
    The data stored in Salesforce helps companies provide personalized interaction with their customers. According to a Forrester study, 77% of consumers have chosen, recommended, or paid more for a brand that provides a personalized service or experience. Businesses that use Salesforce as a tool for personalization have seen an increase in their sales and customer retention.

    To improve their personalized interactions, companies integrate Salesforce with their phone systems by using a CTI tool. A CTI tool helps companies have a single unified view of their prospects and customers. It also automates key CRM-phone tasks like call recording.

    3. Salesforce helps companies understand valuable data
    Salesforce is an intelligent CRM tool that helps businesses understand data for better performance. With Salesforce's analytical capabilities, businesses can improve their marketing approaches and sales strategies. Companies that use Salesforce have a greater visibility on what works and what doesn't.

    Thanks.

  • Hi,

    Master-detail relationship is like parent-child relationship where, master represents a parent and detail represents a child in which master object controls some behaviors of the detail object. Like whenever a Master object record is deleted then the detail object related to it also gets deleted.

    Master-detail relationship can be defined between custom objects or between a standard object and a custom object. The detail object automatically gets the security and sharing settings given to the master object.

    There are some limitations in Master detail relationship-

    1. Only up to two master detail relationships we can create for a particular salesforce object.
    2. We can have only Upto three levels of custom detail levels.
    3. We can’t create a Master-detail relationship when the custom object already contains data.
    4. Each object is allowed to have one or two masters or up to 8 details.

    Thanks.

  • Hi Achintya,

    No, it is not always necessary to create an app bundle first when developing lightning component.

    Thanks.

  • Prachi

    Member
    August 23, 2019 at 5:44 am in reply to: What is an audit trail in salesforce?

    Hi Laveena,

    The Setup Audit Trial is on the Organization level, Field History Tracking is on the Object level. The setup audit trail history helps you track the recent setup changes that you and other administrators have made to your organization. This can be especially useful in organizations with multiple administrators.

    Thanks.

  • Prachi

    Member
    August 23, 2019 at 5:36 am in reply to: What is the use of schema in Salesforce?

    Hi Laveena,

    Schema Is data about data. SObjectType is used to check the object type.

    Thanks.

Page 5 of 7