Posts

Showing posts with the label selection

Salesforce Fact #673 | Navigate to record type selection page

Image
We can use the 'useRecordTypeCheck' property in LWC NavigationMixin in order to navigate to the standard record type selection page while creating a new record. Reference:  https://salesforce.stackexchange.com/questions/254498/lightning-web-components-navigate-to-the-new-object-page-passing-in-specific Attached is the screenshot.

Salesforce Fact #665 | Dynamic maxrow selection in screen flow datatable

Image
We have a Data Table component type in screen flow. While configuring the row selection for a Data Table, if the Row selection mode is 'Multiple' we can set the min and max row selection values. Suppose, we want to keep the max row selection value dynamic i.e. it will be based on the length of the source collection and we want to allow the user to select the max number of rows which is equal to length of collection - 1. For this, we can take a number type resource and set its value with the length of the collection and use that one in the maximum selection section. Attached are the screenshots.