Siebel Training Guide > Importing an AICC or SCORM Course > API Adapter Cross-Server Security Issue >

Lesson Content and Siebel Training on Different Servers


An alternative method used to address the API adapter cross-server security issue is used when the lesson content is hosted on a server other than the LMS server. The previous approach (placing lesson content and Siebel Training on the same server) is preferred, because the method described in this section requires modification of lesson content files. For more information, see Lesson Content and Siebel Training on the Same Server.

The two servers must still be in the same second-level domain for this approach to work. For example, Siebel Training could be located at erm.mycompany.com, and the lesson content could be located at lcms.mycompany.com. This approach does not work if the second-level domains are different (for example, mycompany.com and yourcompany.com). For hostnames in country-specific top-level domains, the names to the third level must match, for example. erm.myplace.co.uk and lcms.myplace.co.uk.

For Siebel Training and the lesson content to interact in this way, two sets of files must be modified:

  • The Siebel API adapter wrapper files
  • The lesson content API locator files

The Siebel API adapter wrapper is implemented in these three files:

  • <applicationRoot>/LMS/LmsLessonAdapter.html
  • <applicationRoot>/LMS/LmsScripts.html
  • <applicationRoot>/LMS/LmsEmpty.html

For example, the file path might be erm_enu/LmsLessonAdapter.html.

In each of these files, there are JavaScript if (false) statements that are clearly commented in this way:

// Change to 'true' for cross-server hosting.

if (false)

{

Change each of the false statements to true. There are a total of four instances that should be changed (one each in LmsLessonAdapter.html and LmsEmpty.html and two in LmsScripts.html).

NOTE:  Whatever scripts or code the lesson content uses to locate the API adapter also must be changed in a similar way to set the domain property to the same domain. The way to perform this change depends on the lesson content. Contact the lesson content vendor for details.

Siebel Training Guide