11. are the types of email templates
available in salesforce.com?
- Text
- HTML with Letter Head
- Custom HTML
- Visual force
12. What is Roll up summary field in
Salesforce?
Roll up summary field in salesforce
calculates the Count, Sum, Min or Max of particular field of any child
record. Thus, we can say that Roll up summary field can only be created on Master
object.
13. What will happen if the Account is
deleted?
If the Account is deleted then
Contact, Opportunity will also be deleted from Salesforce which are related to
that Account.
From the database perspective, check
below image of child relationships of Account:
Account Child relationship in
salesforce
14. How many types of the
relationship fields available in Salesforce>
Ans :
- Master Detail
- Many to Many
- Lookup
- Hierarchical
15. How to create many to many relationships
between object.
Creating many to many relationship
in salesforce is little tricky. You cannot create this type of relationship
directly. Follow below steps to create this type of relationship.
Create both objects which should be
interlinked.
Create one custom object, which
should have autonumber as unique identification and create two master
relationships for both objects, no need create tab for this object.
Now on both object, add this field
as related list.
16. In Which sequence Trigger and
automation rules run in Salesforce.com
The following is the order salesforce logic is applied to a record.
- Old record loaded from database (or initialized for new
inserts)
- New record values overwrite old values
- System Validation Rules
- All Apex “before” triggers (EE / UE only)
- Custom Validation Rules
- Record saved to database (but not committed)
- Record reloaded from database
- All Apex “after” triggers (EE / UE only)
- Assignment rules
- Auto-response rules
- Workflow rules
- Escalation rules
- Parent Rollup Summary Formula value updated (if
present)
- Database commit
- Post-commit logic (sending email)
Additional notes: There is no way to
control the order of execution within each group above.
17. If one object in Salesforce have
2 triggers which runs “before insert”. Is there any way to control the sequence
of execution of these triggers?
Ans : Salesforce.com has documented that trigger sequence
cannot be predefined. As a best practice create one trigger per object and
use comment blocks to separate different logic blocks. By having all logic in
one trigger you may also be able to optimize on your SOQL queries.
18. How to delete the User from
Salesforce?
Ans : As per now, salesforce does not allow to delete any user,
however you can deactivate the user.
19. How to delete the users data
from Salesforce?
Ans : To delete the Users Data go to Setup | Administration Setup
| Data Management | Mass Delete Record, from there select the objects
like Account, Lead etc and in criteria select the users name and delete all
records of that user related to particular object.
20. How to restrict the user to see
any record, lets say opportunity?
Ans : set up opportunity sharing to be private. If
both users are admins or have view all records on opportunity, then that
overrides private sharing
No comments:
Post a Comment
Share your Comments .............