You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

PHP API - Custom Object/Child Object Question

Accepted answer
edited Aug 9, 2016 5:44PM in Integrations and APIs 6 comments


We have built a custom object Entity_Data.Entities and related it to Contact (Entity = Parent, Contact = Child).

I have an existing Custom Script - PHP file that updates the Contact with various bits of information and now I am trying to add the Entity information to the process but I can’t figure out the syntax to expose that field on the Contact.

I am able to query the Entities object using the following query without issue:

$a_tbl = RNCPHP\ROQL::query("select id from entity_data.entities where entity_id = '".$_entity_id."'")->next();

Now when I try and use the ID value returned from the above query it fails saying column doesn’t exist.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!