[Building Sakai] Adding Course And Participants to course from DATABASE

Steve Swinsburg steve.swinsburg at gmail.com
Wed Nov 13 18:30:25 PST 2013


Echoing what Paul wrote, use the web services to create data remotely.
If you cannot do that, show the SQL you are using.

cheers,
Steve


On Thu, Nov 14, 2013 at 12:57 AM, Paul Dagnall <pdagnall1 at udayton.edu>wrote:

> Sama
> I'm not sure what the specific problem is but it likely has to do with how
> you created the records. If it were me, I'd prefer to use Sakai webservices
> to accomplish those goals. It's easier and safer and since they use the
> standard application interfaces your results will function better.
>
> Specifically, these two webservices would be what you're looking for:
> addNewSite, addMemberToSiteWithRole.
>
> If you choose to go this route, this link<https://confluence.sakaiproject.org/display/WEBSVCS/How+to+use+the+Sakai+Web+Services>will be very helpful in getting started.
>
> Paul Dagnall
> Application Developer & Administrator
> University of Dayton
>
>
> On Wed, Nov 13, 2013 at 8:14 AM, sama jomaa <sama.jomaa at gmail.com> wrote:
>
>> Hi people,
>>
>> We are going to add courses to sakai database manually directly
>> "Without using 'add site tool' from sakai admin portal".
>>
>> So, we used sakai_site table to do this job
>> then we added tools and pages for the course. This made our aimed goal.
>>
>> Unfortunately, we had two problems:
>>
>> 1- When we use sakai_site_user for adding participants, the added ones
>> didn't appear with the added participant in worksite setup
>>
>> 2- if we made an ex user as student for some course site using
>> sakai_site_user table in Database , and log in the user account the course
>> appear to him but still unavailable
>>  after a while the course disappear again
>>
>> What is the problem??
>>
>> Many Thanks,
>> Sama
>>
>>
>>
>>
>> _______________________________________________
>> 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/20131114/a26a6e34/attachment.html 


More information about the sakai-dev mailing list