So I have a page and I have two lookup inputs on it, let's call them A and B.
When I change A field, B is automatically filtered.
The thing is that I'm trying to do looks like this:
If after filtering B, based on the A value, it contains one value I want to set it.
Problem:
With OData I can't do that because the relationship between A and B is N to N, it means that I can't create a view with column B in entity A or vice versa.
Same would be if I made a request on CRM API.
So my question to you all is:
How can I fulfill the thing I am trying to do?
Is there any way to execute the FetchXml from the page(from custom js code, not from liquid page)?