Display sub-relations

Hi,
I’m currently trying to use AnyType to create an easy-to-fill invoice generator, by having a template showing relevant data from related object and then using the print feature to generate a PDF invoice.

As an example, I have an Invoice object, with a relation to a Human (Customer) where I’ve added some more relations such as Address, ZipCode, City etc.

Apart from Formulas that could come handy to calculate the invoice total, I feel I’m missing something to display customer data in the invoice, as it only shows the relation name while I’d like to show its address/city/zip code.

What I’m thinking of, from a developer point of view, is to have something like relationName.subrelationName or in my case /Customer.Address or @Customer.Address that would allow rendering subrelations as plain text (or as links to the subrelation itself).

I’d love this, especially in sets. I’m trying to track projects for clients, and one thing I was to have is a task list, where it shows all the undone tasks, then the following columns: Task.Priority, Project, Project.ProjectType, Project.Client.

I don’t think this is possible yet, though. Nested (or whatever) relations aren’t supported yet.

There are a couple of requests and community posts here in the community. Feel free to take a look at them and voice your opinion:

Thanks for the suggestions! I’m closing this topic as duplicate of one of the linked topics. Feel free to flag this topic if you want it to be reopened.

Curious if this is the best place to note my issue – I see a great many similar topics but nothing that’s quite the same. Similarly, I’d like to make reference to the values (relations/properties) of a related object; but, I’d like to do so in a collection. Collections currently appear to only allow me to display and aggregate the relations/properties of the object directly linked to the collection.

In my case, it is a many-to-many relationship, where a generic object is included in a collection through another object. (This is partly necessitated by the fact that collections may only be copied shallowly – copies of collections cannot copy the objects they collect. This is reasonable; but, without the option to make deep copies, I have no other option than to put collection-specific values into a collection-dedicated “through” object.)

Specifically, the “generic” object has a numeric weight, and should be “reusable” across various collections. In order to affect the object within a particular collection – namely, to check it off (mark it as done) in that collection, and only in that collection, it seems I need a separate type, which “extends” the generic type.

Not bad so far … but, in the collection, having linked the “through” object, I can’t even display the generic object’s weight property … much less use it for an aggregation.

Unlike other variations of this request, this doesn’t seem like it would open up too great a can of worms – rather, I would just expect the related object’s properties to show up in the search (if not the list) of properties available to display in the collection; and, having done so, be able to aggregate this value.

All that said, (though it doesn’t appear that way), perhaps this is resolved in the current alpha and/or pre-release?

Thanks!

Pehaps check that :

That topic seems fairly different to me (and to the extent it refers merely to backlinks the feature has been added). But thanks!