AEM 6.2 Bulk Editor Query Parameters | Community
Skip to main content
January 24, 2017

AEM 6.2 Bulk Editor Query Parameters

  • January 24, 2017
  • 2 replies
  • 2099 views

Hi,

I am trying to use AEM BulkEditor to export/import metadata for my assets.  When I search for assets, its returning all the subassets as well.  For example, I have pdf file called /content/dm/gmassets/samplefolder/searchTOLogicalflow.pdf that has 4 pages.  When I search in BulkEditor, results grid shows me 4 subassets, one for each page.  Is there a way to filter these out.  I tried several query parameters like mainasset:mainasset=true but nothing has worked.  

Can anyone suggest a way to remove these subassets from results?

Thanks,

Manisha

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
January 24, 2017

I am getting the same results. If you need that level of querying - i would look at using JCR SQL and perform queries like: 

"SELECT * FROM nt:unstructured WHERE jcr:path LIKE '"+path +"/%' AND NOT jcr:path LIKE '"+path +"/%/%'";

Using JCQ SQL/2 - you ahve much better control over what the result set is. 

kautuk_sahni
Adobe Employee
Adobe Employee
October 5, 2017

Good read:- Coral UI based Bulk Editor

~kautuk

Kautuk Sahni