This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - using wildcard in setProperty() condition with IOM.dll

rammsh - Tuesday, February 1, 2011 12:02 PM:

Hi

on the IOM.dll version 8.1 it used to be:

setProperty("item_number", "%" + base_number + "%", "like")

Now with the latest IOM.dll version (9.2) it looks like this setProperty methode doesn't work, the 3rd parameter has been replaced by the "language".

is there anyway to make this work ?

Thanks

 

 

 

 



RobMcAveney - Tuesday, February 1, 2011 12:12 PM:

The change in the API happened along with a major internationalization effort a few versions back.  You now have to use 2 lines of code like this:

setProperty("item_number", "%" + base_number + "%")
setPropertyCondition("item_number","like")



rammsh - Tuesday, February 1, 2011 12:33 PM:

hi Rob,

yes it works fine now.

thanks for the quick reply