How to retrieve Business Component rows in SIebel Open UI PM?

别说谁变了你拦得住时间么 提交于 2020-01-05 02:52:08

问题


How can I get field values of BC from Presentation Model in Siebel Open UI?

I was trying:

SiebelApp.S_App.Model.GetBusObj("").GetBusComp("")

but Model is not recognized. I also tried creating model with GetModel() function, but it didn't succeed.


回答1:


If you need to access any BC in the Active View,you can do that via the Get method of the PM, eg: GetRecordSet will give you an array of variables.

See this example to see how you can GetFieldValue

If you need to access some other BCs not in the activeView, you have to go via eScript BS. This is kind of a security layer, even the older Browser script system had this limitation.




回答2:


As I researched in oracle support there is no way to directly access repository objects via PM. We should create Business Service to deal with this part.



来源:https://stackoverflow.com/questions/30340562/how-to-retrieve-business-component-rows-in-siebel-open-ui-pm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!