Salesforce Tab Settings: Default On vs Default Off vs Tab Hidden

salesforce tab hidden

In Salesforce tab visibility, Default On shows a tab in the app’s navigation bar, Default Off keeps it out of the navigation bar but still available in the App Launcher, and Tab Hidden removes it from both. None of the three settings changes what records a user can open; that is controlled by object permissions … Read more >>>

Create and Assign Actions to Agentforce Agents in Salesforce

Custom Agentforce action built using Flow and Apex in Salesforce

I created an Agentforce Agent for one of our clients who uses Salesforce to manage their business operations. After creating the agent, the next step was to decide what tasks the AI agent should perform automatically. For this, we created Agentforce Actions and connected them with Salesforce Flows and logic. These actions allow the agent … Read more >>>

Salesforce Agentforce: Create Custom Action Using Flow & Assign to Agent

Input and Output Fields in Salesforce Agentforce Actions

After creating a service agent in Salesforce Agentforce, when a user asks a query or question to an agent, the agent understands and processes information, takes action to perform tasks, and responds to the user. These actions enable agents to process queries and provide accurate responses. I have created a service agent and deployed it to the community … Read more >>>

INCLUDES() Function in Salesforce

INCLUDES() Function in Salesforce

The INCLUDES() function in Salesforce checks whether a multi-select picklist has a specific value selected and returns TRUE or FALSE: INCLUDES(Interests__c, “Golf”). The second argument must be a text literal, a fixed value in quotes; Salesforce rejects a field there with “Expected Text Literal, received Text”. I tested INCLUDES and the other multi-select picklist functions … Read more >>>

Compile Error: Illegal assignment from String to Datetime in Salesforce Apex

Illegal Assignment error in Salesforce Apex

The Apex compile error “Illegal assignment from String to Datetime” means you tried to put a String value into a Datetime variable or field, for example Datetime closeTime = closeText;. Apex never converts text to a Datetime automatically. Fix it by converting explicitly: Datetime.valueOf(‘2026-10-06 14:30:00’), Datetime.valueOfGmt(…) or Datetime.newInstance(…). The same error appears for other types, … Read more >>>

Check if Get Records Is Empty in Salesforce Flow

Check if Get Records Is Empty in Salesforce Flow

To check if Get Records is empty in Salesforce Flow, add a Decision element right after the Get Records element with the condition {!Get_Records} Is Null True. When Get Records finds nothing, its output is null, so this outcome catches the “no records” case before later elements try to use the data. For a collection, … Read more >>>

How to Open Developer Console in Salesforce | Developer Console

how to access developer console in salesforce

To open the Developer Console in Salesforce Lightning Experience, click the gear icon at the top right and select Developer Console; it opens in a new window. In Salesforce Classic, click your name, then Developer Console. If the option is missing, the user needs the API Enabled and View All Data permissions, and the org … Read more >>>

ISPICKVAL() Function in Salesforce

How to use the ISPICKVAL Function in Salesforce

The ISPICKVAL() function in Salesforce checks whether a picklist field has a specific value and returns TRUE or FALSE: ISPICKVAL(StageName, “Closed Won”). You need it because picklist fields can’t be compared with = in formulas and validation rules; Salesforce rejects Industry = “Banking” with a picklist error. I tested the common patterns and mistakes in … Read more >>>

Operators in Salesforce Apex

OR operator in Salesforce apex

Operators in Salesforce Apex are the symbols you use to calculate, compare and combine values: arithmetic (+ – * /), comparison (== != < >), logical (&& || !), assignment (= += -=), bitwise, the ternary ? :, safe navigation ?. and null coalescing ??. One operator is missing: Apex has no % remainder operator; … Read more >>>