2016-08-18 59 views
0

我是Oracle Siebel Open UI的新手。我想知道如何獲得動態生成的小程序的ID。我嘗試使用this.GetPM()。獲取(「ID」)。但是,它不工作。在JQuery中,我們有$('#test')('id');我們在Siebel Open UI中有什麼?你可以請這個。謝謝。Oracle Siebel Open UI命令獲取元素的ID

感謝, 克里希納

回答

0
Hi Krishna, 
      We can get the applet id in two ways, 

    #1 --> We can take the current applet id using following code: 
      this.Get("GetFullId");   (in PM file) 
      this.GetPM().Get("GetFullId"); (in PR file) 

    #2 --> We can take any of the applet id present in the view using below Code: 
      SiebelApp.S_App.GetActiveView().GetApplet("Applet_Name").GetFullId();