Get all files attached to an item

Answered

Comments

4 comments

  • Andreas Haugstrup Pedersen

    The files are returned along with the item so you can just do:

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

    print "There are ".count($item->files)." files on this item"; 

    In other words you can just loop over $item->files to process the files.

    0
    Comment actions Permalink
  • Podio Admin

    Thanks, missed this approach.

    0
    Comment actions Permalink
  • Marijn Achterkamp

    Having the same issue (3 years later). But $item->files is emptyeven though it does actually have files and displays properly.

    Anyone aware of changes in this behaviour?

    0
    Comment actions Permalink
  • Bret Johnson

    Is there any interface to download a list of which items have attached files in an app? I also want to download all files attached to an item in an app.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk