{% fetchxml my_query %} ..... ..... I am using fetchXML with liquid in web template for ADX portal. The code below works fine when I provide valid ID {% if my_query.results.entities %} {{ my_query.results.entities.size }} {% else %} No session found for this booking {% endif %} However, when ID is not in CRM i.e. null result I am getting this error Liquid error: Exception has been thrown by the target of an invocation. Could you please tell me how to handle null result in Liquid with fetchXML. I have tried following options {% if my_query.results.entities %} {% if my_query.results.total_record_count %} {% if my_query.results %} all return same error
↧