Topic by M.E.Thomas
Hello,
When I try to access a custom Menu on a Contact I get the following exception:
Uncaught exception 'RightNow\Connect\v1_2\ConnectAPIError' with message 'Selected column is not an object: job_title
The query is:
$fieldMenuQuery = RNCPHP\ROQL::queryObject("SELECT Contact.CustomFields.c.job_title FROM Contact")->next();
$objectMenu = $fieldMenuQuery->next();
If I do a query I only get the ID of the custom field menu.
Any ideas?
Let me further clarify this as when doing just a "query" i get he response of of: [job_title] => 11.
What I need is the contents of the object thus an objectQuery was used... More specifically, I am looking for the NamedId and label of the object contents.
This will be used in an array that can be dynamically called in the event that the menu contents are changed and or updated.