Page 1 of 1

Expose Solution Import/Export Functionality to programmer

PostPosted: Thu Dec 28, 2006 10:57 pm
by sdevlin
Hi Guys,

Would it be a problem to programmatically expose the solution import/export functionality??

I think it would be awsome to give a programmer essentially the same functionality as the server admin page does for importing, perhaps through the IServerAccess interface.

i.e.

Code: Select all
public void importSolution(java.io.OutputStream src, java.util.Properties p)

public void exportSolution(java.io.InputStream dest, java.util.Properties p)


Thanks,
Sean

PostPosted: Thu Dec 28, 2006 11:56 pm
by IT2Be
Hi Sean, if I am not mistaken antonio (forum handle) has been playing with using the html plugin for importing a (new) solution.

Maybe checking for his postings will help you on the way. Basically he uses the plugin to hook into the import functionality of the web-admin.

PostPosted: Fri Dec 29, 2006 2:41 am
by sdevlin
Thanks Marcel,

Yeah I think that way is do-able.
I've used the HTTP poster to do file uploads.

Programmatic exporting would be slick though!