Blogs
-
Understand the error – System.QueryException: List has no rows for assignment to SObject
Description This issue you may encounter in apex class if you have query like this: The following query is not returning any number of records: Lead l = [SELECT Id FROM Lead WHERE Id = : recordId]; The error “List has no rows for assignment to SObject” occurs when query doesn’t return any rows. Possible Reason…
-
Query Report by Folder and Report Type
-
Design Properties in LWC using XML file
Requirement In this post, we are going to explore how can we create design properties in lightning web components. It gives ability to setup some basic default setting while dragging the LWC anywhere. Practically, it is super helpful in experience cloud/community development. Example In below given example, we want to pass the recordId dynamically from…