Hello!
Trying to update existing objects with a random identifier as described in this documentation.
Mutations | Appfarm Documentation
I have enabled GraphQL, Auxiliary Endpoints and enabled all CRUD permissions related to GraphQL for the Object Class.
Tried in both the Dev and Test environments without success.
This is the code i am using. Similar to the example shown in the documentation.
mutation {
populateBuiltinPropertyCompany(propertyId: af_randomId, maxUpdates: 300) {
updatedCount
}
}
This is the result.
{
"errors": [
{
"message": "Value \"af_randomId\" does not exist in \"CompanyBuiltinProperties\" enum.",
"locations": [
{
"line": 2,
"column": 46
}
]
}
]
}
In the Explorer i see that propertyId only gives undefined as an option.
Which is also reflected in this picture.
Is there something else i need to do before i see af_randomId in propertyId?