Construct Custom Values

by Community Manager on 07-06-2011 02:42 PM - last edited on 07-11-2011 02:35 PM

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);