[Building Sakai] Updating Database Table

Steve Swinsburg steve.swinsburg at gmail.com
Thu Aug 16 21:53:35 PDT 2012


Unfortunately the 'createdby' attribute of a site is immutable so the web services won't do you any good. This is probably one of those rare occasions I'd say just modify the database.

cheers,
Steve


On 17/08/2012, at 1:52 PM, Earle Nietzel <earle.nietzel at gmail.com> wrote:

> 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"
> _______________________________________________
> 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/20120817/fa5184a6/attachment.html 


More information about the sakai-dev mailing list