Hello everyone,
When I create a file successfully from SuiteScript I will get an Object returned like so:
{ "type": "file.File", "id": "xxxxx", "name": "dummy.jpg", "description": "Dummy ", "path": "xxxxxxxxxxxxxxxx", "url": "xxxxxxxxxxxxxxx", "folder": 11659, "fileType": "JPGIMAGE", "isText": false, "size": 93188, "encoding": "UTF-8", "isInactive": false, "isOnline": true }; It seems that I can access all properties of this object, but not the type property. I'm curious why this is not working. When I would like to return the type property like so: imageObject.type
I get the following string returned: "Unexpected 'o'"Thanks in advance.