Layouts often differ substantially from recordType to recordType and from profile to profile. This action takes a recordTypeId and a profileId and returns that combination’s current LayoutId. One use of this is dynamically generating flow screen layouts with the RecordDetail flow screen component. To do this, after using this action to retrieve a LayoutId, use the GetLayoutFields action to retrieve the list fo field names from that layout. You can then pass the list of field names to RecordDetail to generate a customized record detail right in your Flow screen that maps to the layout. To see this in action, check out this video.
The ID of a recordType
The ID of a profile. Note that you can quickly generate this in Flow by creating a formula of $User.profileId
https://unofficialsf.com/wp-content/uploads/2022/09/largeUCSF-300x133.png00Alex Edelsteinhttps://unofficialsf.com/wp-content/uploads/2022/09/largeUCSF-300x133.pngAlex Edelstein2019-12-25 13:17:002022-11-15 15:21:56Get the Layout Corresponding To a Specific RecordType/Profile Combination - 'Get Layout By Profile and Record Type' Flow Action
The views of Alex Edelstein and any other Salesforce employees participating on this site are their own and not those of Salesforce.