Adobe Connect User Community
Menu

#1 2009-02-24 15:16:09

**_bcaille_**

Create a Virtual Classroom

Hi,

Is there any way to create a virtual classroom using the API?  And what "type" should it be?  Course or content?

So far, i've only been able to create one using the content type and never been able to enter the classroom (an error message keeps popping).  When created via the Connect Pro Interface, I can without a problem.

Any guess of what I might do wrong?

Offline

#2 2009-02-24 15:43:54

**_jcooper9099_**

Re: Create a Virtual Classroom

Yeah see the orginal post....

Hey I got it to work by changing &type=course to &type=meeting.

When I create a VC with the web-manager I see that a "REPORT-MY-TRAINING" API action results in showing that I am enrolled in such an item of type = meeting and icon=Virtcual classroom

yeah that works, I can add courses to it through the web-manager, dunno how through the API,

Anyway good luck.

Offline

#3 2009-02-24 16:15:56

**_bcaille_**

Re: Create a Virtual Classroom

It is working great, but what about if we want to create courses?

Templates are different when accessing to a meeting or a course.

Offline

#4 2009-02-24 16:27:14

**_jcooper9099_**

Re: Create a Virtual Classroom

Remeber that courses are simply wrapped around content and are a way of tracking access to the content. Courses are therefore limited to type of content.

try calling sco-update and specyfying type=course and do not specify Icon.

you can specify a source-sco-id I think if you use sco-upload.

Offline

#5 2009-02-24 21:50:45

**_quinn_**

Re: Create a Virtual Classroom

Hi Bcaille,

Jcooper9099 is correct about courses simply wrapping around content and being of type 'content'.  So, courses should be of 'type=content'.   There is not type 'course'.   

Here's an example of how to create a course.  It is actually a 3-step process.

1. GET SOURCE SCO ID.   Assume that you have already a PowerPoint presentation with quiz questions uploaded to your Content Library and that you know the sco-id.   Assume the sco-id is 859777050.  This will be your source sco.

2. CREATE COURSE.   This is just creating a sco with 'icon=course' and 'type=content'.   Here's an example:   

https://admin.na3.acrobat.com/api/xml?a … rstCourse3

You should get a response back with the sco-id.  Assume this course's sco-id is 859777321.

3. SELECT CONTENT FOR COURSE.  Now that you have the source-sco-id and the course's sco-id, you can specify the source-sco-id for the course that you just created.   Notice that you need the 'copy-source-metadata=true'.     Here's an example:

https://admin.na3.acrobat.com/api/xml?a … =859777050

You should now be able to launch and track your course that you have just created.

Offline

#6 2009-02-25 09:28:02

**_jcooper9099_**

Re: Create a Virtual Classroom

yes thanks I get a little confused on the icon vs type thing.

Offline

#7 2009-02-25 09:54:55

**_bcaille_**

Re: Create a Virtual Classroom

I really appreciate your help on this.  We're working on a Moodle/Connect Pro integration here. 

I now wonder :

Does that mean as soon as a new class is created in moodle, a new virtual classroom (meeting type) should be created on connect pro's side for each week of the duration of the class?  Is this the optimized way of doing this (especially if i'd like to browse in the meeting recordings)?

quinn wrote:

There is not type 'course'.

Let me correct you on this, Adobe's documentation states there is indeed a "course" type.  This is what confused me at first place. 

http://livedocs.adobe.com/en_US/Acrobat … index.html
(Common references->type)

Plus, the datetime format used by sco-update is listed incorrectly in the doc, causing the API to crash, whitout proper validation.

Offline

#8 2009-02-25 13:41:25

**_quinn_**

Re: Create a Virtual Classroom

The docs are wrong then :)    I'm looking at the source code for ConnectPro and there's definitely no type 'course'.    It is 'type=content'.   It's because course is a form of content and inherits most of its properties from the content object.   I agree it is confusing for integrators to work with and the underlying architecture should not bubble up to the XML API level. 

As for your Moodle question, I'm not familiar with what you're trying to accomplish.  Can you give me a few more specifics about the workflow and I might be able to give some advice on this.  I'm not familiar with Moodle.

I will also file a bug for these two doc issues as well.  Thanks for your help!

Offline

#9 2009-02-26 10:28:45

**_bcaille_**

Re: Create a Virtual Classroom

We're basically synching Moodle and Connect Pro. 

The main objective here is that our client won't have to duplicate entries anymore both in moodle and in connect pro.  They will create classes/groups/events/students, etc... right from moodle and the result should reflect into connect pro.

This morning I'm caught up in another weird situation.  I used to create my courses into the "courses" folder when calling the API.  With your advices, I switched to type=meeting upon creation but parent folder was still "courses".  It was working ok. 

Now I don't have that folder anymore (courses) when I do a sco-shortcuts.  Tried to use the meeting folder as a parent but my entries does'nt shows up anywhere in connect pro.

Have you guys changed something?

Offline

#10 2009-02-26 10:41:12

**_jcooper9099_**

Re: Create a Virtual Classroom

I think there was at one point a type=course. if you do a basic API call  ( ?action=report-bulk-objects&filter-type=course) you get a bunch of listings where Type = "" (nothing). the type=course is not ignored because if you do type=foobar you get an error.

The results on my server do indeed show courses but thier type is not listed. hmmm.

Offline

#11 2009-02-26 10:43:20

**_bcaille_**

Re: Create a Virtual Classroom

Just to make things clearer, I want to create a virtual classroom in the shared training folder using the API.  Worked yesterday, does'nt anymore.  Clue anyone?

Offline

#12 2009-02-26 10:47:01

**_jcooper9099_**

Re: Create a Virtual Classroom

make sure that the sco-id your calling in the URL is specifying the correct folder. do ?action=report-bulk-objects&filter-type=folder to get the sco-id and then call sco-shortcuts. Make sure eveything matches up.

For all the problems I've had I have never had a folder just dissapear.

Offline

#13 2009-02-26 11:34:25

**_bcaille_**

Re: Create a Virtual Classroom

This is precisely the problem.  I always get empty result (sco-id) on my findSCO($type) or my findSCObyName($name) because the courses folder seems to have dissapear.

There is the result of my "?action=report-bulk-objects&filter-type=folder".  Should'nt a course or a Shared Training folder be listed in there?

    [report-bulk-objects] => SimpleXMLElement Object
        (
            [row] => Array
                (
                    [0] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817965
                                    [type] => folder
                                )

                            [url]=> /f876817965/
                            [name] => Shared Templates
                            [date-modified] => 2009-02-17T05:00:28.840-12:00
                        )

                    [1] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817964
                                    [type] => folder
                                )

                            [url]=> /f876817964/
                            [name] => My Templates
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [2] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817963
                                    [type] => folder
                                )

                            [url]=> /f876817963/
                            [name] => devk3media2@gmail.com
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [3] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817962
                                    [type] => folder
                                )

                            [url]=> /f876817962/
                            [name] => devk3media2@gmail.com
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [4] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817961
                                    [type] => folder
                                )

                            [url]=> /f876817961/
                            [name] => devk3media2@gmail.com
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [5] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817948
                                    [type] => folder
                                )

                            [url]=> /f48849969/
                            [name] => Training Catalog
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [6] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817947
                                    [type] => folder
                                )

                            [url]=> /f91515236/
                            [name] => Chat Transcripts
                            [date-modified] => 2009-02-17T05:00:28.840-12:00
                        )

                    [7] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817946
                                    [type] => folder
                                )

                            [url]=> /f44189503/
                            [name] => Forced Recordings
                            [date-modified] => 2009-02-17T05:00:28.840-12:00
                        )

                    [8] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817944
                                    [type] => folder
                                )

                            [url]=> /f39529037/
                            [name] => User Events
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [9] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817943
                                    [type] => folder
                                )

                            [url]=> /f82194304/
                            [name] => Shared Events
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [10] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817942
                                    [type] => folder
                                )

                            [url]=> /f34868571/
                            [name] => User Training
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [11] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817941
                                    [type] => folder
                                )

                            [url]=> /f77533838/
                            [name] => {tree-type-account-custom}
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [12] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817940
                                    [type] => folder
                                )

                            [url]=> /f30208105/
                            [name] => User Meetings
                            [date-modified] => 2009-02-17T05:00:28.840-12:00
                        )

                    [13] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817939
                                    [type] => folder
                                )

                            [url]=> /f72873372/
                            [name] => Shared Meetings
                            [date-modified] => 2009-02-17T05:00:28.840-12:00
                        )

                    [14] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817937
                                    [type] => folder
                                )

                            [url]=> /f68212906/
                            [name] => User Content
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                    [15] => SimpleXMLElement Object
                        (
                            [@attributes] => Array
                                (
                                    [sco-id] => 876817936
                                    [type] => folder
                                )

                            [url]=> /f20887173/
                            [name] => Shared Content
                            [date-modified] => 2009-02-17T05:00:20.887-12:00
                        )

                )

)

Offline

#14 2009-02-26 12:11:33

**_jcooper9099_**

Re: Create a Virtual Classroom

Looks like I am wrong, some people may be missing folders.

http://www.connectusers.com/forums/cucb … hp?id=1740


However the folder you should be looking for is "Shared Training"

Offline

#15 2009-02-26 13:53:54

**_bcaille_**

Re: Create a Virtual Classroom

The list I just sent you was from a fresh installed trial version.

Is this a bug?
Any way I can manually add the Shared Training folder?
If not, any other way out of this?

Weirdest thing is I can see it from the web interface but can't access it through the API

This is a blocker for us and it's becoming quite frustrating...

Offline

#16 2009-02-26 14:06:05

**_jcooper9099_**

Re: Create a Virtual Classroom

I noticed that your default language is French, perhaps there is a difference in our versions?

Offline

#17 2009-02-26 14:24:55

**_bcaille_**

Re: Create a Virtual Classroom

Under my Administration tab :

Default Language:    English

Might be something else.

Offline

#18 2009-02-26 16:30:33

**_quinn_**

Re: Create a Virtual Classroom

Are you just trying to get a list of main folders like Shared Training, Shared Meetings, etc?   I'd recommend using 'sco-shortcuts', ie:

http://qwong-xp2.macromedia.com/api/xml … -shortcuts

should return something like:

<results>
<status code="ok"/>
<shortcuts>
<sco tree-id="20010" sco-id="20024" type="shared-training-templates">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20009" sco-id="20023" type="shared-meeting-templates">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20012" sco-id="20012" type="content">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20010" sco-id="20010" type="courses">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20011" sco-id="20011" type="user-content">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20009" sco-id="20009" type="meetings">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20008" sco-id="20008" type="user-meetings">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20007" sco-id="20007" type="account-custom">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20006" sco-id="20006" type="user-courses">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20005" sco-id="20005" type="events">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20004" sco-id="20004" type="user-events">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20003" sco-id="20003" type="seminars">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20002" sco-id="20002" type="training-catalog">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20000" sco-id="20000" type="forced-archives">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
<sco tree-id="20001" sco-id="20001" type="chat-transcripts">
<domain-name>http://qwong-xp2.macromedia.com</domain-name>
</sco>
</shortcuts>
</results>

Then you can use 'sco-contents' to drill down on specific folders.

Offline

#19 2009-02-26 17:06:12

**_bcaille_**

Re: Create a Virtual Classroom

I don't have the "courses" folder anymore.  Yesterday I did (and I had no problem adding stuff into it).  I did another trial installation and still the same.  This is what I'm getting.

<results>
<status code="ok"/>
&#8722;
<shortcuts>
&#8722;
<sco tree-id="876817942" sco-id="876817962" type="my-courses">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817939" sco-id="876817965" type="shared-meeting-templates">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817940" sco-id="876817964" type="my-meeting-templates">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817940" sco-id="876817963" type="my-meetings">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817937" sco-id="876817961" type="my-content">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817936" sco-id="876817936" type="content">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817937" sco-id="876817937" type="user-content">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817939" sco-id="876817939" type="meetings">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817940" sco-id="876817940" type="user-meetings">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817941" sco-id="876817941" type="account-custom">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817942" sco-id="876817942" type="user-courses">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817943" sco-id="876817943" type="events">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817944" sco-id="876817944" type="user-events">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817948" sco-id="876817948" type="training-catalog">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817946" sco-id="876817946" type="forced-archives">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
&#8722;
<sco tree-id="876817947" sco-id="876817947" type="chat-transcripts">
<domain-name>http://connectpro63552440.acrobat.com</domain-name>
</sco>
</shortcuts>
</results>

Offline

#20 2009-02-26 17:17:13

**_quinn_**

Re: Create a Virtual Classroom

Is the user that you are logging in with have Administrator privileges?

Offline

#21 2009-02-27 10:52:33

**_bcaille_**

Re: Create a Virtual Classroom

You got it.

While changing platform, I changed the account number but not the login informations... my bad.

This leads me into thinking : "Why action=login response was OK if my credentials were wrong?". 

Should'nt I have ended up with an "Login Failed" notice or something?

As for now, you got me up and running again, thanks for your help, I appreciate it a lot.

Offline

#22 2009-02-27 19:05:25

**_quinn_**

Re: Create a Virtual Classroom

I'm assuming that you are using the hosted system and may have a few trial accounts?  If you are, and you have the same login/password for these accounts, you won't get an error.  It will just log you into the account that you specified with the account-id.  It may be that one user in one account is an Administrator, and one user in another account is just a Training Manager.  The training manager may not see the 'courses' folder since he doesn't have permissions for it.

Offline

#23 2009-06-21 07:06:29

**_sijafrancis_**

Re: Create a Virtual Classroom

i am a beginner in software field can u help me to develop a virtual class room

Offline

#24 2009-06-21 07:14:01

**_sijafrancis_**

Re: Create a Virtual Classroom

which software i can use for developing virtual class room.

Offline

#25 2009-06-22 08:02:20

**_jcooper9099_**

Re: Create a Virtual Classroom

You can create a classroom in Adobe Connect pro under the training tab.

Offline

Board footer