I have a file attached on Product. Is there some easy way, how to show/link this attachment in another form, that contains id of Product (refProductId)?
What you can do is to include the Product entity in the data structure of your screen.
Let’s assume you need to do it on an InvoiceItem
entity.
- Create a relationship to
Product
entity onInvoiceItem
entity (InvoiceItem.refProductId = Product.Id
). SetIsParentChild = False
because Product is not a child of an invoice item. - Add the
Product
as a sub-entity in the data structure of your screen - Now even though you did not add any screen section to your screen the product gets loaded and its attachments get displayed on the parent entity (InvoiceItem).
1 Like