Governer Limits
1. What are Governer limits in Salesforce?
Ans: Salesforce has governer limits to assure the practical usage of resources present in the Force.com platform. To use the code effectively, salesforce establishes some limits, and they are known as Governer Limits.
2. Object limit in Salesforce?
Ans:
Saleforce edition Custom fields per Object Total Custom Objects
Group Edition 100 50
Professional Edition 100 50
Enterprise Edition 500 200
Unlimited Edition 500 2000
- Active Lookup Filters : 5
- Active Validation Rules : 100
- Active Workflow Rules : 50
- Approval Process : 500
- Custom Fields : 500
- Custom Relationship Fields : 40
- Rollup Summary Fields : 25
- Sharing Rules(Both Owner - and Criteria - based) : 300
- Sharing Rules(Criteria - based Only) : 50
- Total Workflow Rules : 500
- VLOOKUP Functions : 10
3. How to get current logged in UserId in Salesforce?
Ans: In Formula fields use $user.Id.
In Apex use UserInfo.getUserId().
In Visualforce Pages use: {!$user.Id}
In Lightning use: $A.get("$SobjectType.CurrentUser.Id");
No comments:
Post a Comment