Construct Custom Values

Document created by DPM Admin Employee on Jul 20, 2017
Version 1Show Document
  • View in full screen mode

The following example gets the current date and time back from JavaScript and then places that value into a Custom Property.


First, get the current date and time from JavaScript and set it into a variable called now.

var now = new Date();

Now, set a Custom Property Date Time and insert the date and time into it.

$prop.set(MessageClip, "Date Time", now);