[Building Sakai] Updating Database Table

Earle Nietzel earle.nietzel at gmail.com
Thu Aug 16 20:52:16 PDT 2012


Hi Nguni,

The best way to solve this is probably via web services.

You can use your scripting language of choice and make calls to web service
to add or remove people from a site or even change permissions.

Have a look at
https://confluence.sakaiproject.org/display/WEBSVCS/Web+Services+Documentation

And

https://confluence.sakaiproject.org/display/WEBSVCS/How+to+use+the+Sakai+Web+Services

Earle
 On Aug 16, 2012 8:31 AM, "Nguni Phakela" <nguni52 at gmail.com> wrote:

> Hi All,
>
> I want to modify the owner of a course. This is helpful during migration
> since we migrate the data for the instructors, create courses, but then
> once all the data has been migrated we want to hand over migration to
> instructor.
>
> So in order to do this, We would like to implement a functionality that
> will allow us to modify the Create_by field in the SAKAI_SITE table.
>
> How best can I do this? I tried with interacting directly with the
> database. It used to work, but now it doesn't to be a good option. Can I
> use BasicSqlService and is there an example of how to use this?
> --
> Nguni Phakela
>
>
> _______________________________________________
> 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/20120816/17565bf6/attachment.html 


More information about the sakai-dev mailing list