I have a problem with the deployment of Content Query Web Part programmatically.
When I do the deployment, the Web Part appears in the required page with the correct configuration, but the problem is that it hasn't data. If I edit the page and I do click in "Apply" button of the Web Part, the data appears perfectly.
Do you know anything about this?
Thanks !!