CRM Client Script to filter based on multiselect lookup
Hi everyone,
This is my first post and I’m hoping I can get some feedback on my problem.
I want to filter a lookup field based on the value of another lookup field using a client script.
I know this can be done in the Lookup field settings, but in this case the modules are related via multiselect lookup so I think it needs to be a client script as the Multiselect Lookup field doesn’t appear in the list of filter fields.
I’ve been through various iterations of the client script but really it all sems to fall down on the setCriteria, which has very limited options (equals, in, starts_with and between).
The multiselect lookup doesn’t appear on the list of API fields and I need to interact with it as a related list.
All I want to know right now is, has anyone achieved this before? If yes, please can you share some advice, if not, have you found a workaround?
Thanks,
Ashley