GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2015-01-21T01:18:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | acs, cloud, customobjects, query |
Reporter | Rodrigo Rosalin Alves Ferreira |
Assignee | Shuo Liang |
Created | 2015-01-20T11:34:33.000+0000 |
Updated | 2016-03-08T07:37:42.000+0000 |
I use the ACS and I'm in trouble recently to get a custom object that has a photo. The photo attribute always returns null, and I have several applications using the same engine and always worked but recently new applications are with this problem.
[~neemo] Can you please provide me your custom object id? and which part of the photo attributes are missing for you?
I get the photo_id attribute but can not access the photo object itself Result. {"menucategory":[{"user_id":"54bd45f208c91e0942175ad9","photo_id":"54bd46da2ed88cabe3004dbb","created_at":"2015-01-19T18:03:07+0000","updated_at":"2015-01-19T18:03:07+0000","title":"Teste1","id":"54bd46da2ed88cabe3004dba","cname":"menucategory"}],"success":true,"error":false,"meta":{"code":200,"status":"ok","method_name":"queryCustomObjects"}} How can I get to the photo along with the custom object in the query? Thanks
[~neemo] can you please pass in response_json_depth=2 to get the photo object?
Just run a simple test to get response from customer query, here is the standard structure.
It's worked. Thanks very much Wei Kong