Admin Asset Search Rail - Expiry - more and better options
Hi dear community,
i hope you all have a wonderfull day!
As it currently is:
The current way to search for expired assets is the expirystatus within the statusgroup predicate.
It only has one option available Expired and this is clearly not everything interesting about the expiry.
In addition to this, the only option here, Expired, does not only show the expired assets themself BUT also files that have a expired asset within its dependencies!
For example, there is one icon that has expired. This only option will now not only list this one icon as a search result, but also every InDesign file that has the icon somewhere in it.
That waters down the search results very badly.
What i am now trying to archive is an expansion of options here and this is where you may come in with your ideas and knowledge.
Any idea and any input is very appreciated.
What i am looking for are the following options:
- Expired: The asset itself is expired (Ignore Dependencies)
- Will expire: The asset will expire someday (Be careful using those on sites / print projects that will be used for a longer period of time
- The asset is free of an expiry restriction and can be used without having any fear that it will depublish itself / printed items do not have to be destroyed because one asset is no longer licensed
- Bonus option: I call it the "Care free option":
The asset is not only free of an expiration date, but also has no DRM restrictions.
No adobe_dam:restrictions and no xmpRights:WebStatement - Bonus option 2: I call it the "handle with care / last chance to use) option:
The asset will expire within the next 3 Months / 6 Months / current year
Now i create a options predicate and have a look at it in CRXDE.
This is where i currently am... but i think i might be wrong with this approach since
dam/gui/coral/components/admin/customsearch/searchpredicates/optionspredicate will check if the values that come after jcr:content/metadata/prism:expirationDate have the value "true"
I am looking for an option predicate that checks if jcr:content/metadata/prism:expirationDate...
1- has a value which is (Date-Value <= Now) = true
2 - has a value which is (Date-Value >≠ Now) = true
3 - has no value at all
4 - has no value AND ALSO no value in adobe_dam:restrictions AND NEITHER in xmpRights:WebStatement
5 - has a value which is (Date-Value < Now+3Months / Now+6Months / etc.
Sorry for this wall of text but i rather try to explain it as best i can in the first entry.

