Get a Layout’s Field Names – Flow Action

With the publication of the RecordDetail flow screen component, it became easy to get flow to show any list of field names you choose to give it. In many use cases, you might want to leverage your existing Layouts, particularly in situations where you’ve customized layouts on a per-record-type basis. Other recent tools make it easy to let users select record types and obtain layout id’s. This action takes a Layout Name and Object Name and returns a CSV string of the layout’s field names. To see this action in action, check out this video.

Inputs

AttributeTypeDescription
Layout NameStringexample “Account (Marketing) Layout”
Object NameStringexample “Account”

Outputs

AttributeTypeDescription
layoutFieldsCSVStringComma-separated list of layout fields

Installation

Install this action as part of the QuickChoice managed package or just grab the source.

Leave a Reply

avatar
  Subscribe  
Notify of