如何使用Composite C1添加时间戳字段? [英] How to add a timestamp field using Composite C1?

查看:100
本文介绍了如何使用Composite C1添加时间戳字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在数据透视图中将 ChangeDate 字段添加到全局数据类型?我可以轻松添加 CreateDate 字段,但在记录修改时会卡住。

How can I add ChangeDate field to a global datatype in data perspective? I can add CreateDate field easily but stuck at record modification time.

这是我添加CreateDate字段的方式:

This is how I add CreateDate field:


  • 只需添加一个新字段并将其重命名为CreateDate,类型为Date


  • 在高级标签中;

我是否可以添加另一个自动保存修改日期的字段,如果

Can I add another field which one keeps the modification date automatically, if any?

推荐答案

来自: burningice

这里有一个软件包,您可以用来对动态类型 https://bitbucket.org/burningice/compositec1contrib/src/8f53d846304f4dea942e默认

There is a package for it here which you can use to enable ChangeHistory on dynamic types https://bitbucket.org/burningice/compositec1contrib/src/8f53d846304f4dea942b9169481ea3e53580804e/ChangeHistory/?at=default

对于静态类型,只需确保继承Composite.Core.Types.IChangeHistory接口即可。
在线阅读全文。

For static types, just make sure to inherit the Composite.Core.Types.IChangeHistory interface. Read the full discussion online.

这篇关于如何使用Composite C1添加时间戳字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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