When it comes to picklist in formula fields, there are few things which developer need to consider.
- Do you want picklist actual value (return text value)?
- Do you want to check if user has selected a specific value (return true or false.)?
There are 3 functions that can be used for different purpose to work with picklists in formula field.
Continue reading “How to get Picklist value in Formula Field.” →
Developers usually get strange requests from client to make some of the text clickable so that if a user clicks on that field in record it should redirect to detailed page of that record. We know that standard Name field already does similar task. However there will be a scenario where client uses Standard name field as auto number field and a custom field to save proper name and requests for a clickable link on the custom field and requests to make it clickable.
There are multiple ways in which we can perform this task. But in this blog we will see 2 ways using formula field.
One simple way that everyone follows is using a relative URL, where you can create a custom formula field and use relative URL with record Id.
Continue reading “Clickable Custom formula field (Relative vs Absolute)” →
Before knowing what governor limits in salesforce is, let us understand what Multitenancy is?
‘Multitenancy’ is a fundamental technology that cloud uses to share IT resources cost-effectively and in securely.
Salesforce has many servers across globe and the org or salesforce instance that you work in will be in one of those servers. There servers will have huge database and machines and are so powerful that each server can host multiple instances of salesforce from different companies. So obviously every application will share resources that are available in the server like processor, database, network etc. Everything works smoothly without any deadlock situation. Such sharing of resources among different applications is called multitenancy.
If you speak in general, in a single building there will be many houses and different owners will own individual houses and resources such has, common space, water, garden area electricity will be shared among those people. Here building is like a server and you house is like your own application. There can be multiple applications in a server just like multiple houses in a building.
In this blog we will discuss 2 topics
Continue reading “Salesforce Governor Limits and Solutions.” →
- What are Governor Limits?
- How to Avoid Governor Limits.?
Password is important for authenticating users. Users usually forget password or try multiple wrong passwords and many more reasons where system locks their credentials and restrict further access. A system admin can reset the password in many ways. In this blog we will see different ways through which you can reset the password.
As per my knowledge there are 3 ways you can reset password of a user in salesforce.
Continue reading “Different ways to Reset Password in Salesforce” →
- User Detail page.
- Reset multiple users password at once.
- Developer Console
There will be some scenarios in organization where you want to share a record based on some complex scenario, but you cannot define the complex scenario as a criterion in sharing rule. Then the question is how you can share a record, of course you can share them manually. But how many times you can share records manually, trust me its annoying to share records manually again and again.
Salesforce provides another way to share a record and that is through apex code via share object. So what is Share object? Every standard and custom object will have a share object in salesforce with predefined fields as shown below.
Continue reading “Apex Sharing in Salesforce” →
- Standard Object’s Share object will be “sObject+Share”. For example, Account objects Share Object is AccountShare. Similarly, Opportunity objects Share object will be OpportunityShare.
- Custom Object’s Share object will be “CustomObjectName + __Share”. For example, if your custom object name is MyCustomObject, then its API name will be MyCustomObject__c and share object will be MyCustomObject__Share.