Issue with showing data in a repeating group/tabel

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…

as you see here in my main window it set to search for data in the database called registrations…


and same it is in my table element…


my databse registrations contains 2 more databse “materials” and “hours” there have different fields of that data i need


and as you see even tho it have multiple entrys in the databse there arent showing on the case,

hope there is someone out there, there can give a bit assistance with this one

Hey @christian_bargmann :wave:

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. :blush: Let me know what you see or show a screenshot.

hey @J805
thank you for answer

im not sure how to use the debugger yet to be honest… still pretty new to use bubble and still learning…

image
but as you can see in my database in last field a case have been attached to an hour registration /“time registrering” that i maked

so i dont know why it isnt showing ? :face_with_monocle:


i see that the screenshot i sent was really small… so i send one of all the entrys… its the one in top

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. :blush:

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

so i have now maked an element with the expresion you said… under my headline…
and it doenst show any data?

what does that mean?

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

so how do i get that on the “registreringer” tab?

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

Well, I believe the issue is that the Registration doesn’t have anything attached to it that you can reference. Like an order, or something like that.

Having two types isn’t an issue, it will still show up, you can have a filter based on the type if you want.

When creating the registration, is it supposed to be attached to an order?

but now i just created a new entry in the databse called “timer”

and as you see in the last fields “sager”/order the order im viewing is attached to it
so the order should be attached

So are you looking to display the ‘timer’ database instead of registrations?

im looking to display 2 databases that i both have referenced to in my registration database

hmm :thinking:

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. :blush:

hmm :thinking:
good point

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?

Hmm :thinking: Well, how are you attaching the ‘time’ to the registration dataType?