Duplicate displays in repeating group

Hello bubble

I’m having difficulty and would like some advice.

I’m working on an app that allows users to submit an IT ticket. The user will submit the ticket on one page and have a list of their open tickets display on another page.

Submitting a new ticket on page 1 seems to work fine, but the issues I encounter on page 2 are (1) only the last ticket is displayed in the repeating group and (2) the item duplicates so I end up with a list of the same ticket. However, in my data base, the ticket is only created once.

I’ve tried looking at similar threads in the forum but would only end up confused. I’m afraid I’d need some clear instructions with this one. Please help.

Thank you

Can you show a screenshot of your repeating group properties especially the data source expression.
It’s very hard to help you debug without knowing your setup.

Hello @seanhoots,

Thank you for responding. I’m adding a screenshot of my repeating groups properties. For the data source there are no other constraints or anything added to it. Just the expression you see.

Additionally I’m adding a screen show of what the ticket will look like as well as the content within it just in case I’ve used the wrong dynamic data entries.

is%20repeating%20group%20issue%202

The goal is to display the user’s list of opened tickets on this page and sort them from the last ticket on top of the list going back to the first ticket at the bottom.

I greatly appreciate what advice you can offer.

Thanks,

From this things look OK to me so I’m not sure why it’s not working.
Can you share a link to your editor so we take a look. You can set the privacy to read only so that no one can edit anything.
Alternatively you can send me a private link to your editor and I can take a look at it for you.
What you’re trying to do seems pretty straightforward so I’m surprised you’re not getting the expected results.

Sure thing.

Well I’m a complete noob to all of this programming stuff. So it’s probably something really simple that I’m missing.

I’ll set up the permission stuff soon and send links in a bit. Currently at work. lol

Thanks,

Btw you’re doing current user’s ticket.
Are you creating the ticket while logged in?

Yes, whenever I open the editor to work on the app, I make sure to run the app as the test user I created.

In the workflow I used to create a new ticket, I made sure to make the “techuser” that creates the ticket equal the current user who is logged in and this is accurately reflected in my DB.

Attached is also a screenshot of what the ticket list looks like in a preview. In addition to the ticket duplicating, information from the last ticket is also displayed in the new ticket.

Also, how exactly do I share my app with people? How do I change the view permissions and do I just copy and paste a link?

I figured it out how to send the pages I think.

I’m sending the link to the two pages where this data should connect.

This first page “new_ticket” is where the user would enter the basic info needed to create the ticket.

(Deleted link due to privacy)

This second page “homepage” where the user can view their account and profile info, is where their list of tickets should appear.

(Deleted link due to privacy)

I feel the issue is between how I’m sending data from “new_ticket” to the “homepage” and how I’m setting up the repeating group to display that data. I just cannot figure it out.

ok i’m taking a look

Hey @knocode,
I’ve found the issue. It’s with how you’re displaying the information in the repeating group.
The expression for the data source is correct. But the ones for the ticket information is setup wrongly.
You should be calling Current cell’s Ticket’s Subject not Current User’s Ticket’s subjects.
You already retrieved the current user’s tickets into your repeating group. So each cell in the repeating group is a Ticket.

This is the reason why you’re getting the data repeated because in each cell you’re calling the same thing.

Thank you very much. It appears that was the issue.

However as I did not have the option to select the current cell within these text fields, I selected the Parent Group’s Ticket and it’s working as intended. My tickets are no longer appearing duplicated, the data within each ticket is separate and its posting in the order I wanted.

I should be fine from here. Thank you again.

Great.
The reason why you had to do Parent Group’s Ticket was because you had a group inside the repeating group cell. So you had set the group to be Current cell’s ticket. Therefore for the children of the group to get the ticket you had to call the parent which is the element currently holding the current cell’s ticket.

Glad it worked.

1 Like