Developing Apama Applications > Developing Apama Applications in EPL > Making Application Data Available to Clients > Creating DataView items > DataViewAddItem
DataViewAddItem
Syntax
event DataViewAddItem {
   string msgId;
   string dvName;
   string owner;
   float timeStamp;
   sequence<string> fieldValues;
   dictionary<string, string> extraParams;
}
Create and route an event of this type in order to create a DataView item. A response is provided by a DataViewItem or DataViewException event.
Syntax description
msgId is an optional field for a message ID that applications can use to identify responses.
dvName is the unique name of this item’s associated DataView definition.
owner is the owner (user) of the item. Specify "*" to allow all users to access the new DataView item.
timeStamp is the timestamp of the initial update (seconds since epoch). If the value given is -1.0, the service will populate it using correlator currentTime. Note that the default value of the field is 0.0, which prevents trend graphs from updating.
fieldValues is a sequence of field values in string form. The ith value in the sequence is the value of the ith field specified in the fieldNamesequence of the associated DataView definition.
extraParams is an optional field that future implementations may use.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.