@SystemLevel annotated classes in Report params

In our project we have categorized entity named "Document"
I wanna make report parameter with “Category” type to allow users choose Category instance before running report.
The problem is that “Category” is annotated with @SystemLevel and I cannot create such parameter.
What would be the best solution for this issue?

Hi Rushan,

You can override @SystemLevel annotation for Category entity using metadata.xml in your project. See in documentation https://doc.cuba-platform.com/manual-6.6/metadata.xml.html
Use the following snippet for disabling @SystemLevel annotation:

    <entity class="com.haulmont.cuba.core.entity.Category">
        <annotation name="com.haulmont.cuba.core.entity.annotation.SystemLevel">
            <attribute name="value" value="false" datatype="boolean"/>

Thank you,
Subbotin Andrey