Posts

Showing posts with the label custom

Salesforce Fact #842 | Error while using custom metadata methods

Have you encountered the below error while accessing custom metadata records using built-in methods: system.typeexception: unsupported sobject type and/or version This is because the metadata type methods were introduced in API version 51. So, please update the API version of the apex class to v51 or higher to resolve this. Reference:  https://salesforce.stackexchange.com/questions/339818/custom-metadata-types-not-supported-in-apex-classes

Salesforce Fact #825 | Custom property editor in screen flow

The custom property editor is a useful feature in screen flow. It can work as a container of several base components and can pass the data to the screen as set by admin. Flow builder has a JavaScript class for this purpose that uses the inputVariables and validate interfaces. In order to pass the data, the event propagation attributes need to be specified and the custom event name must be 'configuration_editor_input_value_changed'. Reference:  https://developer.salesforce.com/docs/platform/lwc/guide/use-flow-custom-property-editor-lwc-example.html