Adding an App Reference or Appending a Text Field
AnsweredIs there any way to do either of these things through the API? Or do I need to pull in the existing value and append values manually?
I have a MailChimp webhook that is putting data into Podio for our sales team, and I would like to be able to update fields without overwriting what is there sometimes.
Thank you,
Tim
-
Did you eventually get this to work? I'm having an issue updating the app reference field type after appending new info to the field value and attempting to update...
$asssociated_contacts = PodioItem::get_field_value( $_POST['item_id'], $contacts_field_id );
$asssociated_contacts[]['value'] = get_object_vars($contact_object_to_add);
PodioItemField::update( $_POST['item_id'], $contacts_field_id , array('value' => $asssociated_contacts));Throwing an error. Help!
-
Hi Davin,
It's almost always easier to work with the Podio objects rather than calling static methods. There are guides if you start here and read the following two sections as well: http://podio.github.io/podio-php/objects/
/Andreas
Please sign in to leave a comment.
Comments
3 comments