Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
I heard that node factory will read data from umbraco.config similar to xsltis this correct?
if that that the case it means that all publish node can be retreived using node factory because umbraco.config only consist publish data.
how do I retrieve unpublish node data because I need this in my custom edit page in Umbraco CMS.
Do I need to manually perform select query to DB?
Any reference to this?
thanks for your help.
Hi,
Put simply you use the Node Factory to access any published data, and the Document API to access unpublished data (which must come from the database)
Further explanation here http://our.umbraco.org/wiki/reference/api-cheatsheet/difference-between-a-node-and-a-document and http://www.netaddicts.be/articles/document-api-vs-nodefactory.aspx
Regards
Rich
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Node Factory for unpublish node
Hi all,
I heard that node factory will read data from umbraco.config similar to xslt
is this correct?
if that that the case it means that all publish node can be retreived using node factory because umbraco.config only consist publish data.
how do I retrieve unpublish node data because I need this in my custom edit page in Umbraco CMS.
Do I need to manually perform select query to DB?
Any reference to this?
thanks for your help.
Hi,
Put simply you use the Node Factory to access any published data, and the Document API to access unpublished data (which must come from the database)
Further explanation here http://our.umbraco.org/wiki/reference/api-cheatsheet/difference-between-a-node-and-a-document and http://www.netaddicts.be/articles/document-api-vs-nodefactory.aspx
Regards
Rich
is working on a reply...