Get Window Number for Form

In Vienna Advantage each window, form or process dialog has unique number on client side. 

On Basis on this unique number, User can set or get context of any field or control. 

Second User can set unique id for UI form’s elements at time of form creation to avoid duplicate id issue. 

  

To get unique window number, use this function 

  

var windowNo = VIS.Env.getWindowNo();//return unique window number at client side