Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Import Software Engineering Space Template.js
var mQuery = {
query: "select * from cmis:folder where contains " +
"('PATH:\"/app:company_home/app:dictionary/app:space_templates/*\"') " +
"and cmis:name='Software Engineering Project'",
language: "cmis-alfresco"
var results = search.query(mQuery);
//copy the template into our Document Folder
try {
var copy = results[0].copy(document,true);
} catch (e) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment