Skip to Content
0
Former Member
Apr 17, 2008 at 05:28 PM

MDM Search From ResultSet after upgrade

14 Views

Hello, I am trying to modify a custom iview after an mdm business package upgrade to 5.5 sp06 and I'm getting an error I have not been able to resolve.

A URL event is passing the [MDM Search] parameter from the ResultSet iview to my custom iview. It gets to the point of the following code and terminates at the GetResultSet line with a NullPointerException. The search is being filled I tested this as are all of the other parameters.

Search search = new Search();	
StringRef stringRef = new StringRef(searchString);	
search.SetArchive(stringRef);

A2iResultSet rs = catalogData.GetResultSet(search, resultSetDefinition, sortField, true, 0);

if I edit the search line to say:

Search search = new Search("Products");

it works perfectly but obviously cuts out the search criteria. this code was working perfectly pre upgrade. Can anyone give any pointers as to the reason

Thanks

David

Edited by: David R. Evans on Apr 17, 2008 7:30 PM