cancel
Showing results for 
Search instead for 
Did you mean: 

PCD Inspector Filter doesn't work

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member388485
Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

ok Thanks!

now it work's.

david