Consultor Eletrônico



Kbase P97652: Dynamics WebUI: how to open the filter window as soon as the main window is opened.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/11/2004
Status: Unverified

GOAL:

How to open the filter window as soon as the main window is opened.

GOAL:

WebUI

FACT(s) (Environment):

Dynamics

FIX:

By default the filter window is opened when you press the appropriate button. In order to automatically open the filter window you need to put the call to apph.action in the predefined call-back function refresh().
This because Javascript include files will start executing when loading, but you need to wait till the screen has been initialized first. Progress implemented these call-back hooks/events to let you execute your code at appropriate time. The code will be like this:
function refresh(){
apph.action("gsmcrfullo.filter.toggle");
}