|Orion.Project.Handler Documentation [message #1702508]
||Wed, 22 July 2015 18:51
| William Escobar
Registered: June 2015
I am trying to write a plugin that will create a new type of project in the orion workspace. This project will be preloaded with files that it is dependent on. I am trying to use the "orion.project.handler" service for this purpose, but I am having trouble implementing this part of the documentation "The function should initialize project in the workspace (including adding project.json to it) and return the project description containing at least ContentLocation"
How do I initialize a project??
How do I add a project.json file??
I have tried using the File and Workspace APIs but I get cross domain errors when trying to send GET and POST requests to https://orionhub.org/workspace
From a REST client I was able to make those request and create the projects and files but I need to be able to do it within the plugin.
If any one can please help me with this it would be much appreciated.
Powered by FUDForum
. Page generated in 0.01451 seconds