get value of external_id like defined on 'developers/hook' page in app




  • Andreas Haugstrup Pedersen

    If you are looking through a ton of arrays you are probably using an old version of the PHP client. So go over to and fetch a new version. Beware there are many syntax changes in the new version. These are made to solve your exact problem.

    After that you can see a bunch of examples of how to work with items in

    For your specific case. Here is how to get an item, get a specific field by external id and then print the human friendly value of that field.

    $item = PodioItem::get($item_id);

    // Get the field with external id 'title'

    $field = $item->field('title');

    // Print human friendly value

    print $field->humanized_value();

    // Raw values are available in $field->values 

    Comment actions Permalink
  • Anthony Viaene

    ow yes , this is exactly what i needed :-) thanks!

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk