Hi,
I've written the code below to fetch dataverse data. I want to apply a filter condition to retrieve only the rows if entryno equals to a value in a javascript variable. How can I pass the variable value inside the fetchxml tag?
var JSvariable ="";//dynamic text
{% fetchxml EnesTest %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="ab9cc_test">
<attribute name="ab9cc_entry_no" />
<filter type="and">
<condition attribute="ab9cc_entry_no" operator="eq" value=JSvariable />
</filter>
</entity>
</fetch>
{% endfetchxml %}