No secret I love Javascript. It’s messy to the right point, it can be quick and dirty, it can be elegant, it can be wathever you are: your Javascript code can be a mirror of your personality. And what’s better that putting together 2 things I like the most? Yes, I’m talking about Salesforce and […]
Tag: VisualForce
[Salesforce / Visualforce] Handling Viewstate with Dynamic Visualforce components
I’ve written this post thanks to the help of my colleague Ivano Guerini who has found the solution to the problem I’m going to expose and written down the code you’ll see in this post. This post is about correctly handling the viewstate when dealing with Dynamic Visualforce Components. For those of you that have […]
[Salesforce / Visualforce] Input Lookup Custom Component
Have you ever needed a VisualForce lookup input field without using a lookup field from another “fake” object? I did, and now I have an easy to use VisualForce component that does the trick (almost all the trick). Here is the GitHub repository that contains the component. The components simply replicates what the standard lookup […]
[Salesforce / Apex / VisualForce] Getting rid of the “Save & New” button
In some circumstances the “Save & New” button on the standard layout is not desired. This is an idea (there are others of this kind) to make this optional on layouts, but unfortunately it’s been freezed for years. The simpler solution was to execute some javascript on a hone page component in order to hide […]
