function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdc startsfdc start 

interview question plz answer

1.what is assert..? what the use..?
2.what is opportunity team...?
3..what force .com sites ..?
4.what is terrority mangement..?what the use..?
5.what is custom component..?
Best Answer chosen by sfdc start
Esther OnemaEsther Onema
  1. Assert denoted as :assert(condition, msg) is a method type. it asserts that the specified condition is true. If it is not, a fatal error is returned that causes code execution to halt.
    another assert method example: assertEquals(expected, actual, msg)
    Asserts that the first two arguments are the same. If they are not, a fatal error is returned that causes code execution to halt.

    2.An opportunity team is a group of Salesforce users who work together on a sales opportunity.

    3.Force.com is a Platform as a Service (PaaS) product designed to simplify the development and deployment of cloud-based applications and websites. Developers can create apps and websites through the cloud IDE (integrated development environment) and deploy them quickly to Force.com’s multi-tenant servers.

    4.Territory management is an account sharing system that grants access to accounts based on the characteristics of the accounts. It enables your company to structure your Salesforce data and users the same way you structure your sales territories.

    5. 
    Similar to the way you can encapsulate a piece of code in a method and then reuse that method several times in a program, you can encapsulate a common design pattern in a custom component and then reuse that component several times in one or more Visualforce pages.
  • Custom components allow developers to define attributes that can be passed in to each component. The value of an attribute can then change the way the markup is displayed on the final page, and the controller-based logic that executes for that instance of the component. This behavior differs from that of templates, which do not have a way of passing information from the page that uses a template to the template's definition itself.
  • Custom component descriptions are displayed in the application's component reference dialog alongside standard component descriptions. Template descriptions, on the other hand, can only be referenced through the Setup area of Salesforce because they are defined as pages.