[Building Sakai] Creating sites with template
Steve Swinsburg
steve.swinsburg at gmail.com
Wed Oct 14 05:50:04 PDT 2009
Hi Miguel,
Yes you can use the copySite() method in the web services
SakaiScript.jws to create a site which will take the siteId of another
site (ie your template site) and copy over the structure of the tools,
but no content. There is a patch for the web services that will also
copy content if you desire, I can dig that out for you.
cheers,
Steve
On 14/10/2009, at 11:27 PM, Miguel Carro Pellicer wrote:
> Hi!
>
> I'm creating sites through WebServices.
>
> I created a new type of site, and i have a tool list template
> assigned to this type, when i create the site through sakai, appears
> with all tools configured, but when created from a WebService
> appears without pages.
>
> Can i create the site like the template using the webservice? (Not
> adding pages manually or with the webservice)
>
> Thanks and greetings from Spain.
>
> --
> <image002.jpg>
>
> Miguel Carro Pellicer
> mcarro at pentec.es
> +34 - 96 393 74 33 ext. 29
> www.samoo.es
>
> Este correo y sus archivos asociados son privados y
> confidenciales y va dirigido exclusivamente a su destinatario. Si
> recibe este correo sin ser el destinatario del mismo, le rogamos
> proceda a su eliminación y lo ponga en conocimiento del emisor. La
> difusión por cualquier medio del contenido de este correo podría
> ser sancionada conforme a lo previsto en las leyes españolas, Ley
> Orgánica 15/1999 de Protección de Datos de Carácter Personal. No
> se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor
> o del destinatario.”
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive
> this mail not being its addressee, we beg you to let us know the
> error by reply and to proceed to destroy it. The circulation by any
> mean of this mail could be penalised in accordance with the Spanish
> legislation. Is not allowed the use of both, the transmitter and the
> addressee’s, address with a commercial aim, or in order to be
> incorporated to automated data process or to any kind of files.
>
> P Antes de imprimir este correo electrónico piense bien si es
> necesario hacerlo. El medioambiente es cosa de todos.
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091014/367077a4/attachment.html
More information about the sakai-dev
mailing list