Cant get campaign condition to work

I’m trying to use the https://docs.litium.com/documentation/litium-documentation/sales/campaigns/creating-a-custom-condition. But I have rewritten so it uses the api’s.

But it wont save the selected items and it wont be displayed in the grid.
Is there some updated version of this I can look at?

And the Controls.Add(LoadControl("~/LitiumStudio/WebUserControls/ProductCatalogDialog.ascx")); in the documentation can’t be used either, what can I use instead and is this why it wont work?

Litium version: 6.2.2

We will publish an updated article that works for Litium 7, there is not much difference in Litium 6 as well.

But I did it for version 6 and updated the example for that. But it still wont work.
No big need for it for me anymore but still think the examples should be up to date :wink: