Add an Object-And-Field Picklist Pair to your Flow

A growing number of Flow components and actions involve selecting either 1) an object type (“Account”), or 2) a field name (“Account Number”) or 3) both.

This Flow screen component provides a pair of picklists that you can drop into a screen that will show either the full set of available values in your org or a subset that you specify.


Install Package

The package includes a sample flow called Select Object And Field Demo.

Available Parameters

masterLabel – Master label of the component

objectLabel(default "Object")– Label for "Choose Object" field

fieldLabel(default "Field") – Label for "Choose Field" field

objectType– initialization value for object name, supports all standard and custom objects

field – initialization value for field name, should be valid field on selected object, can not be specified if objectType is empty

availableObjectTypes– comma separated list of selectable object names, which should be available to select in objectType field. If this value is not set, objectType will show all existing standard and custom objects

availableFields() – comma separated list of supported reference types, f.e. "User, Account" will result only fields of these types to be shown in "set field" component, all other references will be avoided.

disableObjectPicklist( default = false)– Object picklist is visible, but disabled. If this is true, a value must be provided for objectType

hideObjectPicklist( default = false) – Object picklist is hidden. If this is true, a value must be provided for objectType

hideFieldPicklist( default = false) – will show only object selection and field select will be hidden

displayFieldType( default = false)– if field is selected it will show field type

View Source

1 reply

Trackbacks & Pingbacks

  1. […] that uses dot notation, like this: “Account.Type”. (If you’re using the Object and Field picker, use a formula resource to join the two values into this […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply