Expand my Community achievements bar.

SOLVED

Unpublished Publish status option searching only for deactivated assets

Avatar

Level 2

I have found when you select Unpublished as the Publish status on the asset picker page side panel it searches for assets that have been deactivated. I would have thought the search should also include assets that have never been published. Do you think this is a bug or an intentional feature?

 

Screenshot 2020-05-13 at 14.12.03.png

 

Query Statement:

 

/jcr:root/content/dam//element(*, dam:Asset)[not((_x002e_./@hidden = 'true')) and (jcr:contains(jcr:content/metadata/@dc:format, '"image" OR "application/x-ImageSet" OR "application/x-SpinSet" OR "application/x-MixedMediaSet" OR "application/x-CarouselSet"')) and (jcr:contains(., 'sample') and jcr:content/@cq:lastReplicationAction = 'Deactivate')] order by jcr:content/@jcr:lastModified descending

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

I think it is correct as not selecting either Published or Unpublished will return you assets that haven't been published.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

I think it is correct as not selecting either Published or Unpublished will return you assets that haven't been published.