在 FieldContainer 中输入默认值
我正在使用字段容器输入新的联系信息,并且我想用值填充某些字段。
我可以对电话和姓氏等普通字段执行此操作,但 ti 不适用于 ReportsTo 和 Account 等查找字段。
这是我正在使用的代码:-
var acc:DynamicEntity = new itemClass("Contact");
acc.Phone="8888";
acc.LastName="Nieddu Srl"
acc.ReportsTo ="0012000000RsJYb"
acc.Account="test"
_createFieldContainer.render(acc)
当调用字段容器时,有没有办法用默认值填充查找字段?
谢谢罗伊
I am using a Field Container to enter a new Contact information, and I would like to populate some of the fields with values.
I can do this for normal fields like Phone and LastName, but ti does not work for lookup fields like ReportsTo and Account.
This is th code I am using:-
var acc:DynamicEntity = new itemClass("Contact");
acc.Phone="8888";
acc.LastName="Nieddu Srl"
acc.ReportsTo ="0012000000RsJYb"
acc.Account="test"
_createFieldContainer.render(acc)
Is there any way to populate a lookup field with a default value when the field container is called??
Thanks
Roy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在这里可以看到几个问题:
所以你的代码看起来像这样:
I can see a couple of issues here:
So your code would look something like: