Developer forum

Forum » Development » Auto-generate a website and shop using the API

Auto-generate a website and shop using the API

Tom Kamphuis
Reply

Hi guys,

We're currently looking into the possibilities of generating websites/webshops from an integration feed. The case is more or less the following:
Our customer wants a webportal which has a different website/webshop for every new venue their hosting. Information regarding the newest venues, including all productinformation, is communicated through a webservice hosted by a third party. When a venue is scheduled it should be imported to Dynamicweb and (preferably) auto-generate a website including a webshop based on a default template.

We would like to know if anything similar to this has been done in Dynamicweb. Can we use the API to create websites/webshops? Or are there other ways to automatically create the new venues?

Thanks in advance!
Tom


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Tom

I've heard about scenarios like this before.

You can copy a website using content.area.copy method. Run it in httpcontext, and it will work.

You cannot copy a catalog (shop with groups and products). But it is easy to run through a shop, its group and products, giving them new ID's and save them as new records on the DB. Making the copy your self.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum