Business Case: Client has a lot of email-to-case addresses and wants their quick action ‘From’ to be preselected in order to cut down on clicks and ensure the email goes out from an address that is not the agent and that will be returned directly to Salesforce. Seems easy enough! When looking at the predefined field…
Silly Admin Trick: Showing the User License in List Views and Reports
Todays silly admin trick which you can find in 2 seconds on google is how to get the license of the user in Salesforce to show up in a list view or in reports. Once you see the answer it is a no brainer but: Create Formula field -> Text Name it something like: License…
Silly Admin Trick: Disable Customer Portal Navigation Bar
In Salesforce Classic when you create your first community (Customer Portal) Salesforce puts a black navigation bar at the very top of the page that allows you to quickly toggle between the standard user interface and your customer portals. It…is annoying and for some reason since I rarely run in to this I forget how to disable it…
Mass Edit Button for Lightning Related List
Inline editing is super easy in Salesforce Lightning but not from a related list on a record page. So this is a quick and easy way to without a controller create a VF page that can be used as a button to update a field selected records in a related list. Just flip the object…
Apex Class working with both Trigger and Batch
Sometimes there is a need for a class to execute based on a record value (checkbox) or as part of a scheduled batch job. Not a new concept but you will get this error: Static method cannot be referenced from a non static context So a quick fix is to just create a non-static method that…
VS Code Quick Tip: Disable Quick fix available Lightbulb
July 2019 Update: They ended up fixing this…but boy was it annoying. VS Code is great but after a recent update I started getting a lot of suggestions to created classes in triggers for classes that already exist. I’m sure it is a bug but it was a distraction so after more searching than necessary…
Silly Admin Trick: Enable Service Contracts
Should be straight forward…to enable Service Contracts you have to “Enable Entitlement Management” …why is this so hard to google.
Silly Admin Trick: How to Access Salesforce “Platform Integration User” Profile
While trying to disable a record type I got the following message: This Record type Record_Type_Name Cannot be deactivated because of the following profiles use this record type as default. Upon clicking the profile “Platform Integration User” I get the “Insufficient Privileges”, so sad. Looking at the article linked below I put this URL together to access…
Silly Admin Trick: Random Character Generator
Sometimes what is so easy in other languages and scripting tools can be a real pain in Apex and Formula Fields. I am talking about random character generation. Not sure why this is not a method but have used this trick a couple of times and in doing some reading it actually taking about 1/10…
Wave / EA: Counting the number of weeks, months, days, etc. in SAQL
This was for some reason harder than it should have been. Needed to create the number of weeks from the beginning of the year to today. Re-posting this really because there are not a lot of examples out on the web. date_diff(“week”,toDate(“2018-01-01″,”yyyy-MM-dd”), now()) as ‘YearlyGoal’ I will go back later to make the start of the year…