Export project and import project via API
Author: kschork
Publication Date: 8/23/2019 11:50
We are thinking about the possibility to create/import a FirstSpirit project based on an existing export with a script.
Doing it from an external web application would be too much to ask I guess.
A quick look into the Access API did not raise my hopes that this is possible
even within the FirstSpirit context as I couldn't find any classes or methods related to this kind of functionality.
So does anyone know if this is possible somehow?
Tags: api, configuration, import, project
-
Author: felix_reinhold - 8/23/2019 12:18
HI Kevin,
importing Projects is possible.
For example you can use the AdminService to get the ProjectStorage - it contians a method
uploadExportFile(String fileName, InputStream fileData)to upload a zip to the server and receive an ExportFile Object and a method
startImport(ImportParameters importParameters)
to start the import.
To do this from an external web-app the access-api has to be part of your license (license.ACCESS_API=1)
Best regards
Felix
0 -
Author: kschork - 8/30/2019 11:51
Ah I missed that.
Thank you very much Felix.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires