set

Prev Next

avatar.set

Sets a value into an avatar's memory.

Input Parameters

Name Type Required Description
nid Text Yes Native vocabulary ID (NID)
value Any Yes Value to store into memory
[timeStamp] DateTime No Temporal time stamp to associate with value

Returns

No return value.

Examples

// prepare data element of interest
// definitions (NIDs) are found in Symmetry's 'Native Vocabulary'
var nid = "ABC123";

// store value into memory
// associate value with current time (in universal format)
avatar.set(nid, 64, system.nowUtc);

Remarks

Every avatar has a memory where information is stored. Use this function to store information into this memory.

Definition

Avatars are a special Dr. Know platform concept. An avatar represents any person, place, or thing.