从 Kentico 8 API 获取 TreeNode "Created date"
Get TreeNode "Created date" from Kentico 8 API
我正在使用 Kentico 8 API。
我在 CMS 中有一个继承自 TreeNode
的自定义 class。
我还没有找到任何方法来获得此 class 的项目 "Created date"。你能推荐一下吗?
这是 CMS_Documents table 中的 DocumentCreatedWhen 字段。如果您也查看 CMS_Tree_Joined 视图,您可以看到此字段。
如果您正在扩展 Treenode,您应该能够通过 TreeNode.DocumentCreatedWhen 访问此 属性。如果您没有这样看,请尝试使用 TreeNode.GetValue("DocumentCreatedWhen")
获取值
我正在使用 Kentico 8 API。
我在 CMS 中有一个继承自 TreeNode
的自定义 class。
我还没有找到任何方法来获得此 class 的项目 "Created date"。你能推荐一下吗?
这是 CMS_Documents table 中的 DocumentCreatedWhen 字段。如果您也查看 CMS_Tree_Joined 视图,您可以看到此字段。
如果您正在扩展 Treenode,您应该能够通过 TreeNode.DocumentCreatedWhen 访问此 属性。如果您没有这样看,请尝试使用 TreeNode.GetValue("DocumentCreatedWhen")
获取值