cancel
Showing results for 
Search instead for 
Did you mean: 

STARTSWITH on simple String property in pageprovider does not works

Yvan_Frezefond
Champ on-the-rise
Champ on-the-rise

Hello,

I have no result when I use STARTSWITH predicate in my page provider on a simple String property. If I change the predicate with a LIKE all is working.

Is there someone with the same issue ?

Thanks.

3 REPLIES 3

__11
Champ in-the-making
Champ in-the-making

Write the NXQL query without the "SELECT * FROM Document WHERE" part which is already generated).

Then add your where clause conditions which need to filter for specific DocType.

Also use this **AND ecm:fulltext = '?*' **

__11
Champ in-the-making
Champ in-the-making

Note: PageProvider may give WARNING .. Please ignore and use, it works.

Yvan_Frezefond
Champ on-the-rise
Champ on-the-rise

The explication is in the documentation :

STARTSWITH matches path-like values. When used with ecm:path, it matches documents whose path is strictly under the specified path. When used with an arbitrary string-based property, it assumes that the property value has the form of a /-separated path, and then matches if the value is equal to or under the specified path.

My property value has not the form of a /-separated path.

Thanks.

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.