Description:
Returns a
map containing the items of selected row.
The map contains items: state, timeon, timeoff, timeack, priority, globalid, area, source, desc, comment, usernote, ackerid
Syntax:
PmMap GetDataItem(String sWhat)
Parameters:
sWhat | (String) Retrieved information type. sel - for selected item |
---|
Return values:
The returned text string depends on the type of retrieved information sWhat.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oViewer = pMe.Items("/Viewer");
var oMapItem = oViewer.GetDataItem("sel");
Pm.Debug("description:" + oMapItem.desc);
Pm.Debug("source:" + oMapItem.source);
Dim oViewer, oMapItem
Set oViewer = pMe.Items("/Viewer")
oMapItem = oViewer.GetDataItem("sel")
Pm.Debug "description:" & oMapItem.desc
Pm.Debug "source:" & oMapItem.source