Find courses and curriculums

Most XML API actions that work with courses and curriculums require the sco-id of the course or curriculum. You often need to locate the sco-id dynamically, before you call another action, without knowing the exact name of the SCO.

Use these best practices to make searching for training SCOs efficient:

  • Create specialized folders within the Shared Training folder for storing courses and curriculums. You can do this in Adobe Connect Central, or you can use the XML API, in which the Shared Training folder is named courses.

  • Use these folders to store various categories of courses and curriculums, such as Marketing Training or Sales Training.

  • Use a flat structure in the specialized folders, storing courses and curriculums one level deep.

This directory structure is also recommended when you want to display a list of all courses and curriculums (or all those in a subject area) and allow users to enroll themselves.

If you are working in Adobe Connect Central, you can find the sco-id of a course or curriculum by navigating to it, clicking its URL, and taking the value of sco-id from the browser URL. You can also locate the sco-id from an application, using the XML API.

Find the sco-id of a course or curriculum

  1. Call sco-shortcuts:
  2. Parse the response for the sco-id of the courses folder:

     <sco tree-id="624528" sco-id="624528" type="courses"> 

    You cannot use a filter with sco-shortcuts, but you can parse the response for the sco element that has type=courses.

  3. Call sco-contents, passing the sco-id of the courses folder and filtering for your specialized training folders: 
                 &filter-name=Sales Training
    • You can use filter-name, filter-url-path, another exact match filter, or a date filter. However, be careful when using filter-like-name, as it might affect server performance.

    • You can also get the sco-id of your specialized training folder from the browser URL in Adobe Connect Central and pass it to sco-contents.

  4. Parse the response for the sco-id of your specialized training folder:

     <sco sco-id="2007122244" source-sco-id="" folder-id="624528" 
             type="folder" icon="folder" display-seq="0" is-folder="1">
  5. Call sco-contents, passing it the sco-id of the specialized training folder and adding a filter that identifies the course or curriculum: 
             &sco-id=2007122244&filter-name=Java 201
    • You can call sco-contents, rather than sco-expanded-contents, if all courses and curriculums are stored at the top level of your specialized training folder. This improves performance.

    • You can define custom fields for SCOs if it helps you identify them in searches (see Create custom fields).

  6. Parse the sco elements in the response for the sco-id of the course or curriculum:

     <sco depth="2" sco-id="2006745673" folder-id="2006745671" type="content" 
                 icon="course" lang="en" source-sco-id="2006744233"  
                 display-seq="1" source-sco-type="0"> 
             <name>All About Web Communities</name>  
             <description>Web 2.0 course</description>  

List all courses or curriculums available

  1. Get the sco-id of a specialized training folder you have created.

    You can also get the sco-id by navigating to the folder in Adobe Connect Central, clicking its URL, and reading the sco-id in the browser URL.

  2. Call sco-contents, passing the folder’s sco-id:

    The best practice is to create the specialized training folders one level deep. By doing so, you can call sco-contents rather than sco-expanded-contents. This gives better performance.

  3. Parse the response for name, url-path, or any values you want to display:

     <sco sco-id="2007035246" source-sco-id="2006334909"  
             folder-id="2006258748" type="content" icon="course"  
                 display-seq="0" is-folder="0"> 
         <name>Java 101</name>  
Adobe logo

Sign in to your account