JSSP Data Types and Methods
The table below lists the various Service Object data types supported by the JSSP, the equivalent JavaScript types and where applicable, the Schema. You should also review Data Types considerations for details about specific considerations for certain data types.
SmartObject Type | JavaScript Value Type | Schema URI | Example | Notes |
---|---|---|---|---|
Text | string | |||
Number | number (or string - see notes) |
|
||
Decimal | decimal | |||
YesNo | boolean | |||
DateTime | dateTime |
|
||
Date | extendedDateTime | k2.com/2019/date | ||
File | attachment |
|
Copy
File attachment
|
|
Image | attachment | k2.com/2019/image |
"imageProperty": { |
|
Memo | extendedString | k2.com/2019/memo | "memoProperty": {
displayName: "Memo", description: "A memo field", type: "extendedString", extendedType: "k2.com/2019/memo" } |