In Servoy 7.4 I can do the find() on a uuid field. When i try in webclient I get the error:
ERROR: operator does not exist: uuid = character varying. You might need to add explicit type casts.
I couldn't find a method to set String.toUUID(), only the other way around.
It's a dynamically find method: Depending on user selection it performs a search on multiple fields. Fields and search values are stored in an object.
With JSDOC type I have declared the attributes as UUID but still it seen as String.
* {{user_uuid:UUID, solution_uuid:UUID, project_uuid:UUID, group_uuid:UUID}} oSELECTION
var sField
if (foundset.find()){
for (sField in oSELECTION){
foundset[sField]=oSELECTION[sField];
foundset.user_uuid
}
foundset.search();
}
Can anyone please tell me how to handle this?
Thanks in advance.