i have added a custom field to Journal component, and the property is added to UGC node,
i have written an API to search UGC nodes for a property using ugcsearch.
UgcSearch ugcSearch = resourceResolver.adaptTo(UgcSearch.class);
UgcFilter filter= new UgcFilter();
SetConstraint constraint= new SetConstraint("testId", value); value="sample text here"
But result is zero, it's can't lookup custom properties in UGC node.
any one have Idea on communities how to search custom field,
Solved! Go to Solution.