Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

relational field not showing on custom ACS object

$
0
0

Hi all,

I've created an custom object type which has a relational field to a Place.

Cloud.Objects.create({
    classname : "orders",
    acl_id : acl.id,
    fields : {
        orderArray : order,
        "[ACS_Place]placeID" : placeID
    }
}...
Querying the object doesn't return or include the place data, which would be expected
Cloud.Objects.query({
    classname : "orders",
    where : {
        user_id : userID
}
Expected behaviour. The order object would include place object

However, all I can access is the value of placeID itself, no further properties


Viewing all articles
Browse latest Browse all 8068

Trending Articles