Blogs

  • Creating The Test Class For An Apex Extension.

    When faced with the challenge of writing test cases for an extension, which can be a somewhat challenging task, this post serves as a helpful guide. When there is a need to enhance the functionality of a Visualforce page, the go-to option is to utilize Apex Extensions. Extensions prove to be exceptionally beneficial in expanding…

    Read more…

  • Error – Hierarchy Constraint Violations

    This is a Salesforce constraints – we can not make a record parent of the same record. This is also called self-reference. Example: Suppose you have a custom lookup field on Account which looks to Account itself and you try to populate the same Account Id to the lookup as that of the record then…

    Read more…

  • Retrieve The list Of Profiles That Have Access To A particular Object – SOQL Interview Inquiry

    This SOQL interview question will familiarize you with the process of using SOQL to obtain the names of all profiles that have access to a specific object. Recently, a particular interview question has been frequently posed in Salesforce interviews, particularly in the context of SOQL. The question is as follows: How can one obtain the…

    Read more…