Siebel Life Sciences Guide > Configuring Siebel Life Sciences > Configuring Personalized Content Delivery >

API for Recording Section Data


PCD Viewer tracks various information such as the duration for which each message (digital content) in a messaging plan was presented. It does this by recording the timestamp when the presentation of a message started and the timestamp when the presentation of the message ended.

The message (digital content) performs additional tracking and make calls to the PCD Viewer to pass tracking information. The PCD Viewer takes the combined information and make calls to Siebel Business Application to write back presentation data.

For example, consider a message that has three critical sections where the start and end time of each section needs to be tracked along with start and end time of the entire message. To track section data. the message must pass the section's tracking information to the PCD Viewer by calling the following function:

Application.application.childData(sectionName, startTime, endTime); if using Flex for content creation

root.parent.parent.parentApplication.childData(strSectionName, startTimeStamp, endTimeStamp); if using Flash for content creation

The syntax for childData API is as follows:

childData(name:String, start:Date, end:Date):void

When you close the PCD Viewer, data is written to the presentation detail applet. You can view the full section by section record of messages as per the following example:

Message Name
Section Name
Messaging Plan Name
Start Name
End Name

Samp1

 

SampMP

7:30 pm

7:45 pm

Samp1

Sec1

SampMP

7:31 pm

7:35 pm

Samp1

Sec2

SampMP

7:36 pm

7:40 pm

Samp1

Sec3

SampMP

7:41 pm

7:45 pm

Siebel Life Sciences Guide Copyright © 2008, Oracle. All rights reserved.