Hi! I want to create a query like globalQuery, but not static.
Documentation says that I can do it via JavaScript API. The
documentation code snippet:

Code:
--------------------
function buildQuery3() {
var newQuery = JUICE.IDM.Entities.Search.create("My New Search");
newQuery.setFrom("user");
var selAttrs = ["FirstName","LastName"];
newQuery.setSelects(selAttrs);
var newCondGrp1 = newQuery.addConditionGroup();
var newCondRow1_1 = newCondGrp1.addConditionRow();
newCondRow1_1.setRowAttr("FirstName");
newCondRow1_1.setRowRop("contains");
newCondRow1_1.setRowVal("C");
openSearchResults("QUERY=" + newQuery);
}
--------------------


Earlier, it mentioned openSearchResults function, which has to
communicate with SearchListPortlet. After this code is done the new
window appears.
Documentation says that we can not use SearchListPortlet. But how to
get data without SearchListPortlet I did not find.
*The question is* how to make a query like globalQuery but not static
and without a new window, which appears after code is done?


--
hello_amigo
------------------------------------------------------------------------
hello_amigo's Profile: http://forums.novell.com/member.php?userid=101672
View this thread: http://forums.novell.com/showthread.php?t=453608