Referencing related app's field @All of
Hi guys, I got a problem here, which no one in my company currently seems to be able to figure out.
We are having multiple Apps in Podio that are linked to each other with relationship fields (e.g. App1 - Client is linked to App2 - Payment Details). Usually I should be able to use a Calculation Field in the Payment Details app to reference also Fields in the Clients app, shouldn't I?
If I start typing the field's name that I want to reference e.g. Title, Podio only shows @All of Titel als option.
Did I miss any configurations or why wouldn't I be able to reference the other app's fields?
Thanks in advance!
Jonas
-
Hi Jonas,
Matt is right, the drop-down doesn't show all possible entries at once, so you need to type the field's name. However, it sounds like you are already doing that? Are you confused why you see
@All of Title
instead ofTitle
? The reason is, that fields from a related app will always have@All of ...
in fron of it. That's because you could have more than one item linked here, and the@All of Title
will actually be a list of the titles of all related items. In your example: you could have one Client that is referenced by one or more Payment Details. So@All of Title
will actually be a JavaScript array. If you are sure that you only have one item reference, you can simply "access" this item's title using the JavaScript syntax for accessing array elements like this:@All of Title[0]
Best,
StefandieKollaborateure.com - Podio Training+Consulting+Development English & Deutsch
-
I have a similar problem...
My Story App is related to my Pics App... Story.Pic is my related field. I have items in both apps, and related data inside Story.Pic.
In Story.Output I want to use @All of Pics, but even if I type the whole name, it doesn't show @All of Pics.
I tried inserting a relationship field to the child too (Pics.Story) but that produced nothing.
Any suggestions?
-
-
Ok Rainer I'm getting close, but I have a feeling that I have a problem with relationships.
What I'm trying to do is create a block of text like this below, and simply replace the pic numbers with actual pics.
7
Caption for pic2
Caption for picI found that actually @All of Pics DID produce a match, based on the single item I had in a test field called Story.Sketch. I had to type it out in full, strangely, as Matt suggests. It was offered in the dropdown as Stories via Sketch (incoming). One step forward. Yay!
But I want to reference ALL the Pics, not just the one I selected in Story.Sketch, so that I can write a FOR loop to replace all the numbers with the actual pics. So I think my referencing method is wrong.
-
Hi Tim,
I don't understand your problem.In "@all of pics " pics is the name of a field. @all of pics returns all items which have a value in the field pics as an array. You can use that array for a For-loop or you can show the content of the field pics of the returned items: @all of pics.join(). Take care that select the right token (incoming/outgoing) from the dropdown.
Maybe it helps if you can share screenshots of both apps which show the relavant fields.
Btw. You can't reference an image field in the related app, not possible in a calculation field. If you want to pull (and show) images from related items you need a workaround using Globiflow.Rainer
Please sign in to leave a comment.
Comments
10 comments