Salesforce Fact #134 | Screen flow dynamic label

We can use field label dynamically in the screen flow. However, the field api names cannot be set as dynamic value.

Suppose we have a use case where we have a picklist with phone and mobile choices. Now based on the selection made by the user, we would show the label of the input phone field. So we can set the same dynamically.

Note: a better use case is showing the input phone field in the same screen based on the selection. But the selection value is not available in the same screen.

Attached are the screenshots.










Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow