Hi everyone.

I stumpled upon the "JavaScript Search API" section in the agpro documentation for the identity application.
Here it says that it is possible to execute a JSON formatted query.

I'm trying to figure out how this is working, because it sounds like a really nice and dynamic feature. But I'm having a hard time getting it to work.

The documentation says that you could build at querystring like:
var search1b ='QUERY={"k":"Lastname starts with B","mxPg":"10",';
search1b +='"mxRes":"0","ptr":"1","grp":[{"map":{"row":[{"map":{';
search1b +='"rowRop":"starts-with","rowVal":"B","rowAttr":"LastName"';
search1b +='}}],"rowLop":"and"}}],';
search1b +='"orderBy":"LastName","entDef":"user",';
search1b +='"sScope":"","sRoot":"","grpLop":"and",';
search1b +='"selAttr":["FirstName","LastName",';
search1b +='"Title","Email","TelephoneNumber"]}';

But it says nothing about how to execute the query, does anyone know how to do this????

Any info on this API is really appreciated.

Kind Regards
Carsten Jørgensen