cancel
Showing results for 
Search instead for 
Did you mean: 

WebScript that creates a new Space?

theorbix
Confirmed Champ
Confirmed Champ
Hello,

Has anyone written a Web Script that creates a new Space (passed as a parameter) within an existing Space (also passed as a parameter)?

If the answer is yes…. can you share the full code example?
4 REPLIES 4

stevereiner
Champ in-the-making
Champ in-the-making
FlexSpaces has a create space web script in its xml data web script package

http://forge.alfresco.com/projects/flexspaces/

See
integratedsemantics/space/createSpace.post.desc.xml

Takes either parent nodeid or path,  new space name
(optionally title, description, template node id, non default symbolic icon name)


Steve

monham
Champ in-the-making
Champ in-the-making
Hi,

I am new to Alfresoc, so I am trying to understand the structure and how it works.
Actually, I am trying to make some customization on the code based on what I need, but I need some help for that.
what I am trying to do is to create project folder and inside this project folder there should be many sub-folders.
For example; I want to creat a project folder, once I create it, it shoul contain: Project Deliverables folder, and inside this folder, there should be Concept folder.
so please can any one help me to do that?  Smiley Very Happy

Thanks,

stevereiner
Champ in-the-making
Champ in-the-making
what you want to do create a folder with all the subfolders you want in /Company Home/Data Dictionary/Space Templates/<your template folder>

then give the node id of <your template folder> to the flexspaces create spaces webscript optional  t={templateId?} arg

monham
Champ in-the-making
Champ in-the-making
Thanks for replaying.
Actually, I created folders and subfolder in Company Home/Data Dictionary/Space Templates,
but after that I did not understand what I have to do, could you please explain that to me in more details.

Thanks again.