- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Description
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
Symmetry is an open integration platform that allows software projects across the globe to share information via avatars. Every avatar has a memory where information is stored. Use this function to store information into this memory.
Definition
Avatars are a special Symmetry concept. An avatar represents any person, place, or thing. Learn more at The Symmetry Project.