Calling a BAQ from Customization

I am trying to call a BAQ from a customization and am getting the error, I think I might be missing a using statement but not sure which one.

Script.dynamicQueryAdapter’ is a ‘field’ but is used like a ‘type’

Might be the casing - “dynamicQueryAdapter” vs “DynamicQueryAdapter”. You should also be able to just use “var”.

1 Like

In your customization go to Tools > Custom Assembly Reference Manager.
Add the Dynamic Query BO. It may take a while to search for it.


Also make sure to add the using:

using Ice.Adapters;

I have that added but still get the error message.
image

1 Like

That was it.
Thanks!!!

1 Like