2016-08-18 41 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();