Unique ID - Search in APP
Hi Podio Team.
I am using "Search in App" operation to find some text inside a field. It works well, but it only handles normal Ids("The id of the object"). Since Podio changed the way an item is referenced(Unique_id instead of "id"), I would like to know how do I get the item's unique ID.
Here is what Im trying to do:
- Search for a term inside a field
- Then print a table with all the results found and their unique Ids, so its possible to make a link to the item.
For example:
<table>
<tr>
<td><a href=<?php echo 'item.php?id=' . $item->app_item_id . '>' . $item->title;?></a>
</td>
</tr>
</table>
The problem: There is no app_item_id in the response, just the normal "id".
Thank you.
-
Official comment
Hi Leonardo,
The search result object contains a
link
property. Use that to generate your link./Andreas
Comment actions
Please sign in to leave a comment.
Comments
1 comment