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