Collections opening to same source

All of the sudden, the categories in my Collection are all opening to the same Source- they all open to the same screen/components. They are not being recognized as different. Before I delete and start things all over, is there a fix, settings I am not seeing that I maybe inadvertently toggled?

That’s the way they are supposed to behave.

Are you looking for the equivalent of the “Independent Screen Configuration” that we used to have in Classic Apps?

Yes, I have a collection and each of the categories needs to take the user to a separate independent screen configuration. In this case, the categories of the collection represent different types of categories of items they can buy with their classroom galactic pesos (class store, privilidges, ammo, action cards, and ship modules) Each of those categories writes to a separate “transaction” table for accounting purposes. What would be the way to do this in the new Glide? In Classic Apps, I just used an inline list. But unless I am not realizing this was an issue all this week, I have been successfully using Collections like an Inline List and building it out. Could be just a glitch and I delete everything and start over and its fine, but before I do that I need to be sure of the correct procedure to set this up. Thank you.

Ahh, so I am going to need to make each store category a separate source table, and then make multiple collection components at the store front?

What you need to do is create a custom collection item click action, with a separate conditional branch for each item in the list.

So first make sure each row has a column that uniquely identifies it - I usually just number the rows - and then build an action like:

  • If ID equals 1, then
    — Some action 1
    — Some other action
  • else if ID equals 2, then
    — another action
    — yet another action
  • etc
1 Like

Ok I will try that out. Thank you. Strange though that new Glide has a more involved process to accomplish the same thing as an Inline List.

Well, it only worked that way in Classic Apps if you actually checked the “Show Independent Screen” box, so the default behaviour hasn’t changed. But yes, it’s one feature that wasn’t ported.

One thing I should point out - if two or more collection items will be using a “Show Details Screen”, you will need to instead use “Show New Screen”. This will ensure that each item gets its own independent details screen.

2 Likes

Ahh, maybe that is what happened. I was using Show New Screen and then switched to Data “add new row”. For now it seems easier if I just make each category a separate collection and on the store front screen have the 5 collections listed there as a single image icon each.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.