Forum Replies Created

Page 13 of 21
  • Marziya

    Member
    June 4, 2020 at 1:46 pm in reply to: What is meant by pagination in Visualforce page in Salesforce?

    Pagination is the process of displaying large number of records and displaying the records on multiple pages within in Salesforce. ... By default, a list controller returns 20 records on the page.

  • Marziya

    Member
    June 4, 2020 at 1:44 pm in reply to: What is Blob and when to use it in Apex salesforce?

    Blob. The Blob is a collection of Binary data which is stored as object. This will be used when we want to store the attachment in salesforce into a variable.

  • We can use component event instead of an application events. Component events can only be handled by components above them in the containment hierarchy so their usage is more localized to the components that need to know about them.

  • Marziya

    Member
    June 3, 2020 at 12:57 pm in reply to: How do I throw an exception in Salesforce?

    To create your custom exception class, extend the built-in Exception class and make sure your class name ends with the word Exception , such as “MyException” or “PurchaseException”. All exception classes extend the system-defined base class Exception , and therefore, inherits all common Exception methods

  • Marziya

    Member
    June 3, 2020 at 12:55 pm in reply to: Is Upsert a post or put?

    The expected method for updating an existing record is PUT. So your choice should be PUT. So in your case you do not need any POST operation because PUT for upsert operation also covers that.

  • Marziya

    Member
    June 3, 2020 at 12:54 pm in reply to: What are the two options for when Apex Triggers can run?

    Apex Triggers can either run before a record has been saved of after.

  • Marziya

    Member
    June 2, 2020 at 12:54 pm in reply to: How to cover map in batch test class in Salesforce?

    Private Map - Map is declared as Private or inside a method which is not accessible in Test Class. We can not pass values by test class. In order to cover private map, first we need to find the line where we put values into map in our class like mapName. put().

  • The reason why sObjects can't be passed as arguments to future methods is because the sObject might change between the time you call the method and the time it executes. In this case, the future method will get the old sObject values and might overwrite them.

  • Marziya

    Member
    June 2, 2020 at 12:49 pm in reply to: What is standard list controller in Salesforce?

    Standard List Controllers. Standard list controllers allow you to create Visualforce pages that can display or act on a set of records. Examples of existing Salesforce pages that work with a set of records include list pages, related lists, and mass action pages.

  • got to Setup > Home > Home Page Layouts. add “HideApprovalLink-box” to your layout. Click on home Tab you can see the Approval/Reject links are hidden in the page.

  • 1..Click Edit next to the page layout and add visualforce. Click on visualforce settings change width & height to “0”. ...
    2..Save page layout. ...
    3..You can change popup message on visualforce page based on your requirement.

  • The Aura Components and the Lightning Web Components have similar but still different structures. The Aura components have multiple Javascript files while the Lightning Web Components have the only Javascript file, which is also an ES6 Javascript module, as is pointed out in the LWC Building Blocks section.

  • Marziya

    Member
    May 28, 2020 at 1:14 pm in reply to: How many types of API’s avaliable in salesforce?

    Different types of Salesforce APIs. Salesforce APIs: Below are the different types of Salesforce APIs available. REST API: This is useful to access objects in your Salesforce organization using REST. SOAP API: This API is useful to integrate your Salesforce organization data with other application using SOAP.

  • Marziya

    Member
    May 28, 2020 at 1:12 pm in reply to: what is use of Database.convertLead() method in salesforce ?

    The convertLead takes an instance of the Database. LeadConvert class as a parameter.

  • Marziya

    Member
    May 28, 2020 at 1:10 pm in reply to: What are the different types of dashboards in Salesforce?

    Four types of Dashboards:---
    1.Table.
    2.Chart.
    3.Gauge.
    4.Metric.

  • 1..Click Add Workflow Action and choose New Email Alert.
    2..Enter a description and unique name for the email alert. ...
    3..Choose an email template.
    4..Select who receives email alerts from the workflow rule. ...
    5..Click Save.

  • Marziya

    Member
    May 27, 2020 at 12:28 pm in reply to: What is trigger.new?

    Triger. new in Salesforce is a command which returns the list of records that have been added recently to the sObjects. ... Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers. But just for your information, Trigger.

  • Marziya

    Member
    May 27, 2020 at 12:26 pm in reply to: Explain the advantages of Salesforce using the SaaS platform.

    SaaS facilitates remote application hosting and delivery, making this the key advantage of SaaS: painless application access. Customers who use software as a service have no hardware or software to install, maintain, or upgrade. Access to these applications is easy because you just need an internet connection.

  • Marziya

    Member
    May 26, 2020 at 1:07 pm in reply to: What is a Trigger?

    SQL Trigger | Student Database. Trigger: A trigger is a stored procedure in database which automatically invokes whenever a special event in the database occurs. For example, a trigger can be invoked when a row is inserted into a specified table or when certain table columns are being updated.

  • Marziya

    Member
    May 26, 2020 at 1:06 pm in reply to: Write the syntax of Apex Trigger?

    To execute a trigger before or after insert, update, delete, and undelete operations, specify multiple trigger events in a comma-separated list. The events you can specify are: before insert. before update.

  • Marziya

    Member
    May 26, 2020 at 1:05 pm in reply to: Define Recursive Trigger and how to avoid it?

    To avoid recursive triggers you can create a class with a static Boolean variable with default value true. In the trigger, before executing your code keep a check that the variable is true or not. Once you check make the variable false.

  • Marziya

    Member
    May 22, 2020 at 1:46 pm in reply to: What is a salesforce list view?

    ListView. ListView allows you to see a filtered list of records, such as contacts, accounts, or custom objects. This type extends the Metadata metadata type and inherits its fullName field. See “Create a Custom List View in Salesforce Classic” in the Salesforce online help.

  • QueryLocator object when you are using a simple query (SELECT) to generate the scope of objects used in the batch job. If you use a querylocator object, the governor limit for the total number of records retrieved by SOQL queries is bypassed but we can retrieve up to 10,000 records.

  • Marziya

    Member
    May 21, 2020 at 1:53 pm in reply to: How to create a Federation Id in SSO in Salesforce?

    From Setup, enter Users in the Quick Find box, then select Users.
    1.Click Edit next to Sia's name.
    2.Under Single Sign On Information, enter the Federation ID: [email protected] . Tip: A Federation ID must be unique for each user in an org. That's why the username is handy. ...
    3.Click Save.

  • Marziya

    Member
    May 21, 2020 at 1:52 pm in reply to: What is Single Sign On in Salesforce?

    Single sign-on (SSO) lets users access authorized network resources with one login. You validate usernames and passwords against your corporate user database or other client app rather than Salesforce managing separate passwords for each resource.

Page 13 of 21