Hi all,
i read a lot about the topic in the Forum, but nothing helps.
I developed a custom search component with the help of the Sample from the "Code-Samples" Section. Through this component i have to search for a Custom Property named CP1. I can search for this custom property via the SAP Standard Search Component. Everything works fine. But with my own Search Component it doesnt work.
In the coding of the Search Component i tried the following to Search for the value "Hallo":
private IQueryEntryList createQuery() throws WcmException { SearchQueryBuilder sqb = new SearchQueryBuilder(); String thema = "http://sapportals.com/xmlns/cm:CP1(value=Hallo)" sqb.setSelectedCustomProps(thema); return sqb.buildSearchQueryEntries(); }
Everytime i do this dont get back any results. If i comment out this code i got back results.
Is there something wrong with the Namespace "http://sapportals.com/xmlns/cm"? But i created the Property in this Namespace.
Please help!