Great potential #2299
Replies: 3 comments 3 replies
-
Thanks for the feedback @mcavaciocchi . I am going to share this with the team and one of them will respond with further info. |
Beta Was this translation helpful? Give feedback.
-
Hi @mcavaciocchi, first of all thank you very much for the detailed feedback. We really appreciate it! For your questions: 1. Relational IssuesYou need to render a dataprovider for every nested level of your relationship. If you are not using a table, you need to make use of the https://docs.budibase.com/design/components/repeater Modelling my data in the same way as you have, I can represent the invoice, invoiceItems and sellingItems in nested dataproviders, repeaters and tables. To add more SellingItems, you need to add another form in your Invoice detail screen, and set up the save action as follows so that the SellingItem is attached to the correct invoice. 2. Formula fieldFormula fields are generally for the calculation of a single row, rather than that of a whole table. Formulas are calculated at runtime, so you cannot use the result of a formula field (
However, I am actually noticing an issue too where the formula fields are not being pulled back to the frontend. I've created an issue for this now so we can work on it. Date sorting issueYou can follow along with that particular issue here: #2108 Deactivating a customer, and not showing them in the filterJust a question about how you are doing this - do you have a boolean field on a customer, and you are disabling that? It would be good to see how you are trying to do this, because it should be possible to do with a filter/data provider. Importing CSV with relationsThis is something we haven't got round to yet, mainly because of how we would represent relationships in the CSV, maybe just mappings of IDs would work there. Is there a particular user experience you would like to see for this feature? A particular format you would like to use for your relationships? Great job on that script you have put together, that's a nice way to solve it until we have something more concrete around importing relationships. Thanks again for taking the time. |
Beta Was this translation helpful? Give feedback.
-
Hi @shogunpurple , can you share this particular app or make it into a template? Thanks a lot mate! |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for the iniciative to create something awesome.
Here some of my experience until now.
My data is
Invoice - 1 to Many - InvoiceItem - 1 to Many - SellingItem
And in the same screen, i would like to be able to add more InvoiceItem, but could not find a way to do it.
{{sum (pluck InvoiceItems "Total")}}
If i "inactivate" a Customer, i don't want that client to be selectable for new Invoices. Tried with view and filter in new Data Provider, but can't do it.
I see in some discussion about import csv with relation, it will spare lot of time, but till them, i create a powershell script to do it directly in CouchDB.
Well, i can see a huge future for Budibase! thanks again
Beta Was this translation helpful? Give feedback.
All reactions