Search condition for files showing two createAt

All forms having filedescriptor showing two createAt in search condition.

cuba_file

Secondly how can I remove all default conditions like createTs, deleteTs etc from search conditions . I know about
<properties include="(date)|(regulation)"/>
but is there any other way.

Regards

Umesh

Hello @umeshhodwala

I’ve created an issue related to duplicated conditions: GitHub.

how can I remove all default conditions like createTs, deleteTs etc from search conditions

You have few options:

  1. <properties include=".*" exclude="regex"/> - will exclude properties that match given regexp
  2. <properties include=".*" excludeProperties=""/> - simmilar to exclude but supports entity graph exclusion
  3. PropertiesFilterPredicate (Filter API) - enables you to exclude properties programmatically

Please check our documentation about Filter

Regards,
Daniil

Thanks @tsarev,

I have read this already,but think/expect that there should be single option in project to filter only by attributes defined by developer. (my vote is for this functionality)

Secondly just to satisfy curiosity/understanding, whether filter using delete_ts or delete by will return deleted entities? As far as my understanding ‘No’, then why they are there?

Regards

Umesh