todocument( value )
Converts a value to Document.
Keyword | Type | Description |
---|---|---|
|
Any Type |
Value to convert. |
Document
The value parameter accepts Text, Integer, Decimal, and Array types.
When operating on arrays, it is not necessary to use apply
with todocument
. If multiple parameters are passed, or one parameter is an Array, todocument
will return a Document Array.
todocument(37)
returns [Document:37]
todocument(37,38)
and todocument({37,38})
both return {[Document:37],[Document:38]}
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
todocument() Function