cancel
Showing results for 
Search instead for 
Did you mean: 

how can i change the content view for a simple search?

Dario_1
Champ in-the-making
Champ in-the-making

Hi people!.... How can i Change, using nuxeo studio, the content view for the simple search in nuxeo 5.4.2?

Thanks in advance.

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

This content view definition is visible here.

With Studio, you will just need to override this "simple_search" query with your content view.

For your information the simple_search content view values are:

  • query filter: SELECT * FROM Document WHERE ecm:fulltext LIKE ? AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
  • Parameter: #{documentSearchActions.simpleSearchKeywords}

So, just change the query filter with the filter you want.

For the others values, you can choose columns displayed, etc... Like all content views.

View answer in original post

1 REPLY 1

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

This content view definition is visible here.

With Studio, you will just need to override this "simple_search" query with your content view.

For your information the simple_search content view values are:

  • query filter: SELECT * FROM Document WHERE ecm:fulltext LIKE ? AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
  • Parameter: #{documentSearchActions.simpleSearchKeywords}

So, just change the query filter with the filter you want.

For the others values, you can choose columns displayed, etc... Like all content views.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.