Posts

Showing posts with the label Helptext

Salesforce Fact #763 | Dynamic helptext in screen flow using LWC

Image
Suppose we have a scenario in screen flow where we need to show dynamic help text for an input. Whatever value is entered in the input, the help text shows the value. We can implement this using an LWC. In this example, there is a number type input and the helptext shows the text based on the input entered. Attached are the screenshots. Note: The reactive beta feature setting needs to be enabled to pass the data from screen flow to LWC.

Salesforce Fact #617 | Fetching field help text

While trying to fetch the field help text using SOQL on FieldDefinition object, we get the below error: No such column 'inlinehelptext' on entity 'FieldDefinition'. So, to get the help text we can use the getDescribe() call in the format: SobjectApiName.FieldApiName.getDescribe().getInlineHelpText(). For example, Account.AccountSource.getDescribe().getInlineHelpText();