如何在SIebel Open UI PM中检索业务组件行? [英] How to retrieve Business Component rows in SIebel Open UI PM?

查看:58
本文介绍了如何在SIebel Open UI PM中检索业务组件行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从Siebel Open UI中的Presentation Model中获取BC的字段值?

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

我正在尝试:

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

,但无法识别模型。我还尝试使用 GetModel()函数创建模型,但没有成功。

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

推荐答案

如果您需要访问Active View中的任何BC,可以通过 PM的Get 方法,例如:GetRecordSet将为您提供一系列变量。

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.

请参见以下示例,以了解
如何 GetFieldValue

See this example to see how you can GetFieldValue

如果您需要访问其他不在ActiveView中的BC,则必须通过eScript BS。这是一个安全层,即使较旧的浏览器脚本系统也有此限制。

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.

这篇关于如何在SIebel Open UI PM中检索业务组件行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆