开发者

What default/standard fields are there on an Umbraco Node/Document? [closed]

Closed. This question does not meet Stack Overflow guidel开发者_如何学编程ines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Due to Umbraco documentation being very.... how should I say.. 'loose'? and split between 'old Umbraco' and 'current Umbraco', I am finding it difficult to find a page that comprehensibly lists all of the standard/default fields of a Node/Document.

I am interested in the current version (4.6.1 at time of writing, using the 'new schema').

Fields such as:

  • updateDate
  • nodeName
  • level

So, what default/standard fields does every Umbraco Node/Document have?

EDIT: OK, so it looks like that is the best answers we're going to get. So using the xslt snippet posted by forzagaribaldi, we have the following list:

  • id
  • isdoc
  • path
  • creatorname
  • writername
  • urlname
  • nodename
  • updatedate
  • createdate
  • sortorder
  • template
  • nodetype
  • creatorid
  • writerid
  • level
  • parentid

(Case is wrong for all of these however, e.g. isdoc rather than isDoc)

If anyone can elaborate on this list they will get the tick!


You can always get an xml dump of a node by using xslt 'copy-of':

<xsl:param name="currentPage"/>
<xsl:template match="/">
 <xsl:copy-of select="$currentPage" />
</xsl:template>

Will return all elements and attributes (including nodename, createdate, updatedate, level, etc).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜