Active Query Builder support area

Criteria Builder export/import current configuration

Avatar
  • updated
  • Completed

Can somebody give me a hint how to export/import current criteria builder settings?

I have already tried to export and import the configuration by exporting/importing its corresponding querytransformers xml property. But the import looks quite different and all parts of the criteria are no longer parameterized.

Current view

After reload from export

Cheers - Mark

Avatar
Andrey Zavyalov, PM

Hello, Mark.

Thank you for your feedback.

We will investigate this problem and let you know about results shortly.

Avatar
Andrey Zavyalov, PM

Hello, Mark.

What we've found is that a query which corresponds to the exported conditions must be loaded before loading these conditions. In this case you'll see exactly the same picture after reload from export as it was before exporting.

Avatar
mark klein

Hi Sergey,

you are right, changing the load order will solve this issue but now I'm no longer able to update the sql statement of the queryTransformer via the CriteriaBuilder component.

Please assist once again.

Cheers - Mark

Avatar
Andrey Zavyalov, PM

Can you please explain this statement: "I'm no longer able to update the sql statement of the queryTransformer via the CriteriaBuilder component."

What is the problem?

Avatar
mark klein

Changing the where critereria via the criteria builders gui won't update the query transformers sql and filters objects.

Avatar
Andrey Zavyalov, PM

Hello, Mark.

This isn't something we've been able to reproduce here.

Please send me the sample project in which this problem could be reproduced.

Avatar
mark klein

Hi Sergey,

can you provide a working example. My be much easier and helpful for other customers, too?

Avatar
Andrey Zavyalov, PM

Hello, Mark.

Sorry for keep you waiting for so long.

The bug has been reproduced and the problem has been fixed in the newly released version 3.2.2.

Avatar
mark klein

Thanks so much this has been fixed.