Bookshelf Home | Contents | Index | PDF |
Siebel Applications Administration Guide > Usage Pattern Tracking > Application Programming Interfaces for Usage Pattern Tracking > JavaScript Application Programming InterfaceThe JavaScript application programming interface (API) follows: SiebelApp.S_App.TriggerUPTEvent(inputPropSet) Example code for this API follows: var uptRecord = CCFMiscUtil_CreatePropSet(); var details = CCFMiscUtil_CreatePropSet(); uptRecord.SetProperty("Object Type", "Application"); uptRecord.SetProperty("Object Name", "Siebel Universal Agent"); uptRecord.SetProperty("Event Name", "UPTClientScript"); uptRecord.SetProperty("Event Sub name", "Test"); uptRecord.SetProperty("Event Source", "Client Script"); uptRecord.SetProperty("Event Context", "Test UPT"); details.SetType("UPT Details"); details.SetProperty("Detail1", "Test UPT Value1"); details.SetProperty("Detail2", "Test UPT Value2"); SiebelApp.S_App.TriggerUPTEvent(uptRecord) Information about the input property set follows:
|
Siebel Applications Administration Guide | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |