Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Unpublished Publish status option searching only for deactivated assets

danc13675873
Level 2
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
danc13675873
Correct answer by
Level 2
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
danc13675873
Correct answer by
Level 2
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