【问题标题】:Get TreeNode "Created date" from Kentico 8 API从 Kentico 8 API 获取 TreeNode“创建日期”
【发布时间】:2016-01-26 04:04:09
【问题描述】:

我正在使用 Kentico 8 API。

我在 CMS 中有一个继承自 TreeNode 的自定义类。 我还没有找到任何方法来获取此类项目的“创建日期”。你能推荐一下吗?

【问题讨论】:

    标签: c# asp.net kentico


    【解决方案1】:

    这是 CMS_Documents 表中的 DocumentCreatedWhen 字段。如果您查看 CMS_Tree_Joined 视图,您也可以看到此字段。

    如果您正在扩展 Treenode,您应该能够通过 TreeNode.DocumentCreatedWhen 访问此属性。如果您没有看到它,请尝试使用 TreeNode.GetValue("DocumentCreatedWhen")

    获取值

    【讨论】:

    • 非常感谢。我需要使用 GetValue 方法。它只是工作
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-03
    • 2014-02-02
    相关资源
    最近更新 更多