System Attributes in PivotTable

Hi!

How to add system attributes to PivotTable using a PivotScreenBuilder?

Regards

Hi,

Could you please describe in more details what problem do you face?

Gleb

I suscribe to an action that show a new Screen with an editable PivotTable, i am using a PivotScreenBuilder for set a NativeJson for order unused properties, but the PivotTable not contains the createdBy property, how to add this property to a pivotTable?

I generate a PivotTable as follows:

@Subscribe("entityTable.pivot")
    public void onEntityTablePivot(Action.ActionPerformedEvent event) {
        PivotScreenBuilder showPivotManager = beanLocator.getPrototype(PivotScreenBuilder.NAME, entityTable);
        showPivotManager.withItems(entityCollectionDc.getItems())
                .withNativeJson("{\"autoSortUnusedProperties\": true, \"unusedPropertiesVertical\": true}")
                .build()
                .show();
    }

Hi,

You need to define a view for a collection container that includes system properties. In order to do this, in the Edit View dialog you can either enable all by ticking the system properties option or click the sys button and select only required.

34

Gleb

Hi Gleb,

In the browser screen where i have the action, the collection container contains a view with a system properties, but when generate a pivotTable by the PivotScreenBuilder, it not contains a system properties.
There is a bug?

I’m using the latest platform version: 7.1.3

Could you please provide a demo project where the problem is reproduced? Currently it’s hard to suggest any solution.

Gleb

Hi,

In the demo project, the collection container in the browserSreen has a view that extends _local and contains system properties, this browser has 2 actions to generate a pivot table: the first action uses a PivotScreenBuilder and the second uses a standard action show_pivot, but none of them generate a Pivot with a system properties.

Demo project: DemoPivot.zip (3.5 KB)

How to add system attributes to PivotTable?

Regards