21. How many ways we can share a record?
Role Hierarchy:
If we add a user to a role, the
user is above in the role hierarchy will have read access.
Setup -> manage users ->
roles -> setup roles -> click on ‘add role’ -> provide name and save.
OWD:
Defines the base line setting
for the organization.
Defines the level of access to
the user can see the other user’s record
OWD can be Private, Public Read
Only, Public Read and Write.
Setup -> Security Controls
-> sharing settings -> Click on ‘Edit’
Manual Sharing:
Manual Sharing is sharing a
single record to single user or group of users.
We can see this button detail
page of the record and this is visible only when OWD setting is private.
Criteria Based Sharing rules:
If we want to share records
based on condition like share records to group of users
Whose criteria are
country is India.
Setup -> security
controls -> sharing settings -> select the object and provide name and
Conditions and save
Apex sharing:
Share object is available for
every object(For Account object share object is AccountShare ). If we want to
share the records using apex we have to create a record to the share object.
22. What are the actions in workflow?
1. Email Alert
2. Task
3. Field Update
4. Outbound Message
Go through the below link for the more information about workflow
actions http://www.salesforcetutorial.com/salesforce-workflow-automation-workflow-management/
23. How many ways we can made field is required?
1. While creation of field
2. Validation rules
3. Page Layout level
24. What is difference between Role and Profile?
Role is Record level access and it is not mandatory for all
users.
Profile is object level and field level access and it is
mandatory for all users.
25. What is the maximum size of the PDF generated on
visualforce attribute renderAs?
15MB
26. How many controllers can be used in a visual force
page?
Salesforce come under SAAS so, we can use one controller and as
many extension controllers.
27. What is difference between Action support and Action
function?
Action function: Invoke
the controller method from java script using AJAX and we can use action
function from different places on visual force page.
Action support: Invoke the
controller method using AJAX when even occurs on page like onMouseOver,
onClick, ect… and we can use action support for particular single apex
component.
28. How many ways we can call the Apex class?
1. Visual force page
2. Web Service
3. Triggers
4. Email services
29. How to create Master Details relationship between existing
records?
Directly we can’t create Master
Detail relationship between existing records, first we have to create Lookup
relationship and provide valid lookup fields and it shouldn’t null.
30. What is permission set?
Permission sets extend user’s functional access without changing user’s
profile.
Ex: A user
has only read access through profile on custom object, administrator want to
give access Edit and create operations to him without changing the profile.
Administrator creates the permission set having edit and creates operation on
custom object and assign to that user.
31. What is manual sharing?
Manual sharing is to share a record to a
particular user manually.
Go to detail page of record and
click on manual sharing button and assign that record to other user with Read
or Read/Write access.
Manual Sharing button enables
only when OWD is private to that object.
32. How we can change the Grant access using role hierarchy
for standard objects?
Not possible.
33. What is the use of “Transfer Record” in profile?
If user have only Read access on particular record but he wants to change the
owner name of that record, then in profile level Transfer Record enables he can
able to change the owner.
34. What is Field dependency?
According to the field selection on
one field filter the pick list values on other field.
35. Is check box performs like controlling field?
Yes possible. Controlling field should be Check box or pick list.
36. How many field dependencies we can use in Visual Force
page?
Maximum we can use 10 field dependencies in VF page.
37. What is Roll-up summary?
Roll-up displays the count of child records and calculate the sum, min and max
of fields of the child records.
38. How to create Roll-up summary field on lookup relation?
Not possible. Roll-up summary is enabled for only Master –Detail relationship.
39. What are the Record Types?
Record Types are restrict the pick list values and assign to the
different page layouts for different Record Types.
40. What is Audit Trail?
Audit Trail provides the information or track all the recent setup changes that
an administrator done to the organization.
This can store the last 6 months data.
Test
ReplyDelete