Developer forum

Forum » Development » Run Pipeline in Custom Module

Run Pipeline in Custom Module


Reply

Hi,

 

Is it possible to run a pipeline to import prodcts from an xml document to db? The idea is that the module does something we need and then gerenates the XML document, runs the pipeline.

 

Another question. Instead of building a custom module, with an interface, would it be possible to create a file, that when run in the URL, for example http://www.MyWebsite.com/Admin/bin/UpdateProducts.aspx, would perform all the actions we need, including running the pipeline probably with some variables in the URL?

 

Best Regards,

Nuno


Replies

 
Reply

I haven't tested it, but something like this might do the trick:

Dynamicweb.Integration.Pipeline p = Dynamicweb.Integration.Pipeline.Load("c:\[..]\something.pipe");
p.Process();

 

 

You must be logged in to post in the forum