I am creating a website in which can submit some feedback which will then update the node. Is it possible to publish the node asynchronously, so the site seems faster to the user?
At the moment I am doing the following, which I would like to do async:
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
Publish node async
I am creating a website in which can submit some feedback which will then update the node. Is it possible to publish the node asynchronously, so the site seems faster to the user?
At the moment I am doing the following, which I would like to do async:
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
doc.XmlGenerate(xd);
umbraco.library.RefreshContent();
from http://our.umbraco.org/wiki/reference/api-cheatsheet/publishing-and-republishing
thanks
Thomas
Umbraco provide a web service allow you to do this. You can enable web service API, and invoke the api by Ajax.
How to enable?
1. Download the umbraco source code and build umbraco.webservices project
2. Copy umbraco.webservices.dll to bin folder
3. in Umbracosettings.config file, set Enable to "True" and specify the umbraco users that need permission to access it.
is working on a reply...