so im trying to make a window where registred hours and/or materials on a case will be showed in a repeating group/table
i have done that with registred tasks on a case and that works fine but this time a registrations can be 2 type of things from the database hours or materials… so now i have issue to get the data in my repeating group…
Have you used the Bubble debugger to do an inspect on the page to see if anything is missing? I would first check the repeating group value and make sure your current page has an order and that it has a ‘Registeringer’ attached to it. Let me know what you see or show a screenshot.
Thanks for the screenshots. I don’t know what I am looking at though. Are those orders?
If you don’t know how to use the debugger, you can just put a text element on the page that says Current page order's registreringer's unique id. That way if it shows up empty, then that would be your issue.
what you see is all the “registreringer” entrys that have been maked… but only one of them have got dedicated a case… the one in top…
that case is the one im in now… and want that one entry to get showed in the case window that im in
If it is empty in your preview, then you don’t have an order on the page that has a registeringer attached to it.
You can go up one more level and add current page's order's unique id to see if that is empty too. Then it means you don’t have an order on the page either. Let me know what that shows.
hmm… alright… so i have an unique id on from the order on the page
and i also have an unique id on the task/“opgave” tab as you can see on the screenshot
Ok, if that is the case, that would mean that you have the order on the page but not the registreringer attached to the order.
Are you trying to display a list of registrations on that view? If that is the case, then you should probably just need to ‘Do a search for’ a list of Registrations that have a parent order of ‘current page order’.
Does that sound like what you are looking to accomplish?
im trying to show each entry for a registration there have been added to the case from this view… excatly as i have done with the “opgaver” tab
the only different here is it doesnt lead directly to a database with informations field as the “opgaver” databse have
but because i want it to show 2 types of registrations (“timer” and “materialer”) i maked the database called “registreringer” there have these 2 field referencing to each there database…
im sure that if i only wanted to show 1 type of registrations… like hours… it would work perfectly… but becasue its 2 types it doesnt work
How are you referencing this registration? It doesn’t have a parent order attached to it. Wouldn’t you need an order being saved on it to reference it?
i have that in the “time” registration in the field called “sager”
and same in “materiale” registration… so i would asume that since the “registrations” refenrece to these two databse… bubble would be able to pick these parent orders
Yeah, you can, but it would be an advanced search which would cost more WU. So I don’t recommend it. I would suggest just adding the order on to the registration to make it cost less for you in the long run.
but how will i could make that then… because when i create a new thing in this case timeregistrering how do i then add the case to the registrations instead?