Updating a Field Value (PHP)
I've been trying to updated a field value in one of my apps and I'm getting hung up on getting the field_id for the field I want to update. I tried following the info on this thread..
but I get hung up on getting the field object from the items..
$item2 = new PodioItem(array("item_id" => $item->item_id,"fields" => array(new PodioCategoryItemField($field_id))));
$field=$item2->field($field_id);
my code fails here everytime. I think it's because the "field($field_id)" isn't a valid function call to get the field object matching the ID. I've checked to make sure the $field_id is valid and that I have an $item2 object. I'm lost
Thanks
Please sign in to leave a comment.
Comments
1 comment