Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PCD Inspector Filter doesn't work

Hi all experts,

I try to implement a PCD Inspector filter. I've implemented the java filter class very similar with com.sap.portal.demo.CountryFilterService provided on the Webinar Filtering role and workset content for developers.

my filterString is:

filterExpression = "(Cash=SI)";

but, when I try to execute this on the pcd inspector this error appear:

#1#com.sapportals.portal.pcd.pl.search.ParseException: No parentheses expected between position 3 and 11. The character "(" at position 3 is not recognized as a legal operator in filterString "(&((Cash=SI))((&(|(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.page)(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview))(com.sapportals.portal.navigation.FolderEntry=true))))".

this is a java class issue? how can I write the filterString to solve the problem?

thanks in advance

david

Former Member
replied

Hi,

I never tried to implement a PCD Inspector filter but if I look at the error message: <i>The character "(" at position 3 is not recognized as a legal operator in filterString "(&((Cash=SI))((&(|(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.page)(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview))(com.sapportals.portal.navigation.FolderEntry=true))))".</i>

I see that ((Cash=SI)) has double parenthesis and i think that's what bothers him.

Its a long shot but try:

filterExpression = "Cash=SI"; 

Best regards,

Avishai Zamir

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question