I'm develop a E-commerce site and have a question for creating a document on umbraco site on a diffrent website.
My E-commerce site is build in MVC - and use Microsoft Commerce Server (for products, orders and marketing banners) and Umbraco (for MVC Route and Content for all my pages, blog).
I have one website for my e-commerce and one website for umbraco. It works great to get all content from Umbraco. But now I want to create a blog comment document in the umbraco website.
With way should I go? My first thought was Webservice, but I wonder if it is possible to create a document by the API even if the umbraco site is on diffrent website?
A comment form on a page on the remote site. When submitted the comment is posted using jquery ajax to a page on the umbraco site. That page only contains an XSLT macro that reads the posted parameters and forward them to an XSLT extension that creates the node using the API.
Similiar the display of the comments on the remote page is fetched with jquery ajax (jquery load functions is simple and works great for this) from a page on the umbraco site that lists the comments using xslt.
Create document on diffrent website
Hi all
I'm develop a E-commerce site and have a question for creating a document on umbraco site on a diffrent website.
My E-commerce site is build in MVC - and use Microsoft Commerce Server (for products, orders and marketing banners) and Umbraco (for MVC Route and Content for all my pages, blog).
I have one website for my e-commerce and one website for umbraco. It works great to get all content from Umbraco. But now I want to create a blog comment document in the umbraco website.
With way should I go? My first thought was Webservice, but I wonder if it is possible to create a document by the API even if the umbraco site is on diffrent website?
I using webservice for something similar to this, but it should be possible to use API, you only need right umbracoDbDSN key in web.config.
http://en.wikibooks.org/wiki/Umbraco/SamplesandArticles/Creatingumbracopages_programmatically can help.
I've done it like this:
A comment form on a page on the remote site. When submitted the comment is posted using jquery ajax to a page on the umbraco site. That page only contains an XSLT macro that reads the posted parameters and forward them to an XSLT extension that creates the node using the API.
Similiar the display of the comments on the remote page is fetched with jquery ajax (jquery load functions is simple and works great for this) from a page on the umbraco site that lists the comments using xslt.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.