[Building Sakai] Course enrollment information
Venkat Ravikanti
vravikan at yahoo.com
Tue Sep 23 08:25:22 PDT 2014
Thanks Neal and Steve.
Steve,
Can you pl. let me know how to enable or configure CM provider in Sakai. We are using Version 2.9.3.
Also, can you point me where I can get the portlets you are mentioning for rest and soap services.
Neal,
Regarding data dictionary. For Sakai beginners like me it is difficult to figure out how the tables are related to each other. I can get the data dictionary info in a spreadsheet from DB using the following query:
select t.table_schema as db_name,
t.table_name,
(case when t.table_type = 'BASE TABLE' then 'table'
when t.table_type = 'VIEW' then 'view'
else t.table_type
end) as table_type,
c.column_name,
c.column_type,
c.column_default,
c.column_key,
c.is_nullable,
c.extra,
c.column_comment
from information_schema.tables as t
inner join information_schema.columns as c
on t.table_name = c.table_name
and t.table_schema = c.table_schema
where t.table_type in('base table', 'view')
and t.table_schema like '%'
order by t.table_schema, t.table_name, c.ordinal_position
However it will be really useful if Sakai provides entity relationship diagram ( ERD) linking all the tables in the database.
Regards,
Venkat
On Tuesday, September 23, 2014 3:55 AM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
Use the API's to get the data. The cm tables are used by the course management service and from you original post it doesn't look like you have a cm provider. So the users aren't going to be in those tables.
If you are wanting the data in an external system there are rest and soap services to give you what you need and there are even two portlets you can use to provide a deeper integration.
Cheers
Steve
sent from my mobile
On 17/09/2014 1:45 AM, "Neal Caidin" <neal.caidin at apereo.org> wrote:
Hi Venkat,
>
>Thanks. I would presume you should be using the Sakai APIs. I'm copying
in the developer list so that they can provide more details.
>
>Cheers,
>Neal
>
>
>
>Venkat Ravikanti
>>September 16,
2014 at 10:05 AM
>>Neal,
>>
>>
>>We are working on a project where we
need to bring the information from Sakai LMS and show it on external
Portal for user to access.
>>
>>
>>As you see from my original post we are not able to see
the information entered on the Sakai portal in the tables. I may be
looking in wrong tables here.
>>
>>
>>Can you pl. guide me on this. If you
have sometime I can show you what I am doing through Skype.
>>
>>
>>Thanks,
>>Venkat
>>
>>
>>
>>
>>
>>
>>
>>On Tuesday, September 16, 2014 8:54 AM, Neal Caidin <neal.caidin at apereo.org> wrote:
>>
>>
>>
>>And
of course it depends what is needed with the information. Is it
curiosity? Solving a specific problem? Writing a new tool? Access the
data outside of Sakai? etc.
>>
>>
>>-- Neal
>>
>>
>>
>>
>>On Thu, Sep 11, 2014
at 10:26 AM, Brian Baillargeon <bbailla2 at uwo.ca> wrote:
>>
>>
>>
>>
>>Neal Caidin
>>September 16,
2014 at 8:53 AM
>>And of course it depends what is needed with the information. Is it curiosity? Solving a specific problem? Writing a new tool? Access the data outside of
Sakai? etc.
>>
>>
>>-- Neal
>>
>>
>>
>>
>>
>>Brian Baillargeon
>>September 11,
2014 at 10:26 AM
>>I just did a quick search on confluence.sakaiproject.org and found a little documentation that hasn't been modified since 2006, but it might be useful nonetheless:
>>https://confluence.sakaiproject.org/display/CM/CM+API+Design+-+Round+1
>>
>>Anyway, the table that stores roster memberships is
CM_MEMBERSHIP_T
>>
>>mysql> describe cm_membership_t;
>>+---------------------+--------------+------+-----+---------+----------------+
>>| Field | Type | Null | Key | Default |
Extra |
>>+---------------------+--------------+------+-----+---------+----------------+
>>| MEMBER_ID | bigint(20) | NO | PRI | NULL |
auto_increment |
>>| VERSION | int(11) | NO | | NULL
| |
>>| USER_ID | varchar(255) | NO | MUL | NULL
| |
>>| ROLE | varchar(255) | NO | | NULL
| |
>>| MEMBER_CONTAINER_ID | bigint(20) | YES | MUL | NULL
| |
>>| STATUS | varchar(255) | YES | | NULL
| |
>>+---------------------+--------------+------+-----+---------+----------------+
>>
>>Note: the CM_ tables store information about official rosters,
which might not necessarily map to users' current role in the site
if a role has been changed. Also, you won't find any unofficial
participants in these tables. If you want the union of official
and unofficial participants, I think they can be found in
sakai_realm_rl_gr, but there might be a more authoritative source.
>>
>>On 14-09-10 06:46 PM, Venkat Ravikanti wrote:
>>
>>
>>_______________________________________________
>>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"
>>Venkat Ravikanti
>>September 10,
2014 at 6:46 PM
>>Hi,
>>
>>
>>I am new to Sakai.
Need your help on the Sakai Tables.
>>
>>
>>I am
looking to find the mysql tables where the course enrollment information stored.
>>
>>
>>Here is my scenario:
>>
>>
>>1. Created Course Site with couple of courses
>>2. Created Users
>>3. Added the Users to the above created courses as Participants
>>
>>
>>Now when I am trying to query for the participants information in CM_ENROLLMENT_T or
CM_ENROLLMENT_SET_T. No Luck. These two tables are empty
>>
>>
>>Can someone help with me following:
>>
>>
>>1. Data
dictionary for Sakai tables with some notes on which table stands for
what
>>2. Which table stores the participants or enrollment
information.
>>
>>
>>
>>
>>Thanks for your
help.
>>Venkat
>>_______________________________________________
>>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"
>
>--
>Neal Caidin
>Sakai Community Coordinator
>Apereo Foundation
>neal.caidin at apereo.org
>Skype me! (but let me know in advance for the first interaction) -
nealkdin
>
>
>_______________________________________________
>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/20140923/2e545905/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140923/2e545905/attachment.jpg
More information about the sakai-dev
mailing list