What is the use of writing sharing rules? Can you use sharing rules to restrict data access?
Sharing rules are written to give edit access (public read and write) or public read only access to certain individuals in Salesforce org. A classic example is when:- only your managers or superiors need to be given extra credentials to your records in objects as compared to your peers.
By default, all users in your organization will have organization-wide-default sharing settings of either Public Read Only or Private. To give access to more records, which users do not own, we write sharing rules. Example: Sharing rules are used to extend sharing access to users in public groups or roles. Hence, sharing rules are not as strict as organization-wide default settings. They allow greater access for those users.
As far as the second part of the question is concerned, the answer is no. We cannot use sharing rules to restrict data access. It is only used for allowing greater access to records.
3 How many records can a select query return? How many records can a SOSL query return?
The Governor Limits enforces the following:-
Maximum number of records that can be retrieved by SOQL command: 50,000.
Maximum number of records that can be retrieved by SOSL command: 2,000.
Discover how to balance relationships with the right environment for long-term compatibility.
Time to read: 5 minutes
Iâve often likened recruiting to dating and marriage. Both processes begin with the search for the best possible candidate and involve a great deal of discovery, due diligence, and high levels of optimism and excitement. Yet statistically not all work out as blissfully as we hope. So why is it so hard?
The secret to long-term compatibility requires us to harmonize the tactical and emotional elements of the relationship with the right environment. The good news is, in recent years many clever interviewing strategies and technologies have emerged meant to improve our chances of identifying A-players and striking that delicate balance. When all else fails, however, thereâs nothing like a handy list of sales interview questions to help identify both functional competency and the highly critical emotional intelligence needed for long-term success. Here are some of my favorites:
Whatâs your superpower?
Ive written about this in the past as one of my all time favorite questions. Everyone is the best at something! What are they the best at? Not only does this question help you understand the strengths and diversity the candidate brings, but it highlights their degree of self-awareness (critical for coaching and self-improvement), and provides the opening for a related line of evidence-based questions (e.g., âOh, so youâre great at connecting with executive stakeholders? Tell me about an especially challenging instance where you had to make such a connection.â).
Bonus: Hereâs my take on the top 3 superpowers that startup sales reps in particular need to have.
2 What are the types of custom settings in Salesforce? What is the advantage of using custom settings?
There are two types of custom settings in Salesforce: List Custom Settings and Hierarchy Custom Settings.
List Custom Settings are a type of custom settings that provides a reusable set of static data that can be accessed across your organization irrespective of user/ profile. Hierarchy Custom Settings are another type of custom settings that uses built-in hierarchical logic for “personalizing” settings for specific profiles or users.
The advantage of using custom settings is that it allows developers to create a custom set of access rules for various users and profiles.