SAP Knowledge Base Article - Public

2956329 - Update to Multiple Content in OCN Payload not working - LMS

Symptom

OCN Update is not working with multiple contents. 

Environment

SAP Successfactors Learning (LMS)

Reproducing the Issue

SAMPLE #1: Updating Course with new Content Structure
1) Post new course via OCN API with an array of two content items
2) Import selected OCN Course in SF LMS ADMINISTRATION
3) Search Item by Item Title
4) View Content Objects
OBSERVATION #1: Notice the Item has 2 or more Online Content Objects
OBSERVATION #2: Notice the titles of the Content Objects
5) Update the Course via OCN API
UPDATE #1: The 2nd Content Item with Title change
UPDATE #2: A new Content Item added to the Course
6) Execute Open Content Network Synchronization (Automatic Process)
7) REPEAT STEP #4 → View Content Objects
PROBLEM #1: Notice the 3rd Content Object wasn’t added
PROBLEM #2: The 2nd Content Object doesn’t have the correct title anymore or the right Launch URL. It got renamed with the title of the 1st Content Object and it inherited the Launch URL of the 1st Content Object as well.
SAMPLE #2: Updating Course with no Content Structure Changes
1) Post new course via OCN API with an array of three content items
2) Import selected OCN Course in SF LMS ADMINISTRATION
3) Search Item by Item Title
4) View Content Objects
OBSERVATION #1: Notice the Item has 3 or more Online Content Objects
OBSERVATION #2: Notice the titles of the Content Objects
5) Send original payload with no updates to the Course
6) Execute Open Content Network Synchronization (Automatic Process)
7) REPEAT STEP #4 → View Content Objects
PROBLEM #1: The 2nd and 3rd Content Object don’t have the correct title anymore or the right Launch URL. They both got renamed with the title of the 1st Content Object and it inherited the Launch URL of the 1st Content Object as well.

Resolution

Major code change wherein fix is included in b2011 release.

Keywords

LRN-85177, OCN, Payload, Multiple Contents, Update Content , KBA , LOD-SF-LMS-OCN , Open Content Network , Problem

Product

SAP SuccessFactors Learning 2005