如何使用Pentaho中的修改后的JavaScript步骤获取字段值?

发布于 2025-02-04 19:37:44 字数 251 浏览 5 评论 0原文

我正在尝试获取字段值和字段元数据,即字段属性,

使用以下脚本,我可以找到字段类型和字段属性。现在,我试图检查特定字段中是否有任何空值,以便我可以基于字段类型替换字段值。

我如何在不使用输入字段的情况下读取字段值,即硬编码(即,使用一些内置函数获取元数据)以下是我用来获取字段属性的代码

I'm trying to get the field values and field meta data ie., field properties,

Using the following script I'm able to find the field type and field properties. Now im trying to check if there is any null value in the a particular field, so that I can replace the field value with the default values based on the field type.

How can I read the field values without using the input fields ie.,hard coding (ie., to use some inbuilt functions as of how we get the meta data)following is the snip of code that i used to get the field properties

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文