11-13-2012 11:20 AM
I would like to reinitialize my Nuxeo instance repository (remove all data and play again structure template) without restarting my instance and removing data.
I need that to test my structure template configuration.
11-13-2012 11:39 AM
The following proposition must not be used for production server but only on development instance. I suggest this proposition for advanced user that knows what he is doing. This is like manipulating the "rm -rf /*", that can be really problematic 😄
The structure template is called when the documentCreated on the root document is sent and if the root document have no child. Based on that information, we will implement a reinit button.
Be careful this action will remove all data stored into the repository, especially workflows implemented through Studio and the default one. To re-enabled your own workflow, redeploy your studio project after the cleanup.
CREATE THE BUTTON
DECLARE THE ManagementRoot TYPE
Copy the following content
{
doctypes: {
ManagementRoot: {
parent: "Document",
},
}
}
CREATE THE BEHAVIOR
Create a new operation and attach it the User Action
11-13-2012 11:39 AM
The following proposition must not be used for production server but only on development instance. I suggest this proposition for advanced user that knows what he is doing. This is like manipulating the "rm -rf /*", that can be really problematic 😄
The structure template is called when the documentCreated on the root document is sent and if the root document have no child. Based on that information, we will implement a reinit button.
Be careful this action will remove all data stored into the repository, especially workflows implemented through Studio and the default one. To re-enabled your own workflow, redeploy your studio project after the cleanup.
CREATE THE BUTTON
DECLARE THE ManagementRoot TYPE
Copy the following content
{
doctypes: {
ManagementRoot: {
parent: "Document",
},
}
}
CREATE THE BEHAVIOR
Create a new operation and attach it the User Action
11-14-2012 04:10 AM
All unit tests are started with an empty repository. In what way do you want to do your tests? If you're doing functional tests, why is restarting the server a problem?
11-14-2012 06:01 AM
No this is about Nuxeo Studio project test and development activity, on running Nuxeo instance.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.