How to fix paremetres

Hello, I downloaded a template, and it had 2 pages, shop page and create product page, the products in the create product page were displaying the categories but then in the submit product button workflow I changed the navigation to the create product page, before the navigation was to the shop page and I ticked on send page parametres and chose a key, etc. And after I did this the categories of he products in the create product page were not displaying anymore, I went to data types to restore deleted data types in case this was the problem but to no avail I couldn’t solve it.

Did you check privacy rules by any chance?

Could you let me know what would I have to do? I don’t understand much about privacy rules

There aren’t any rules for any data types?

But when I went to data types I saw that in data type product there were fields deleted so I restored them again but they didn’t fix the problem

These are the fields I tried restoring before but I couldn’t solve the problem. So I restored the app to a previous date to restore the changes but the issue is still there. Should I try restoring these fields again to see if this time it works?

yes, I would give that a shot. I would focus on the option sets and see if the values are there as well.

I restored the data fields and it didn’t fix the problem, there isn’t any option sets for categories, the categories are entries in app data. I restored one data field now, shop categories: list of shop categories and it seems is ok now in the properties editor of the group or in this case the repeating group but the categories are still not displaying in the create product page??

Could it be that in the editor of the repeating group is where the problem lies? In the repeating group the cell bears the title of the category, ‘current cells shop categories title shop’

Hey!
Willing to help, but I’m having a hard time understanding your issue. What exactly are you trying to achieve?

In the ‘create product page’ product category titles are not displaying maybe it has got to do with the properties editor of the element. I have this template, it has 2 pages, ‘create product page’ and ‘shop page’, in the ‘create product page’ the user creates the product and once the product is submitted the product will be displayed in the ‘shop page’. In the workflow of the submit product button from the ‘create product page’ I changed the navigation to instead the same ‘create product page’, and I checked send page paramettres, it was from here when I started having this problem

So I restored the template or app to a previous date but the issue was still there, I restored data fields because in the repeating group (where the category title is) editor, it said data source deleted, now it doesn’t say deleted anymore but the categories title is not showing so I think maybe there is something that I need to change in the editor… what I am trying to achieve is to display the titles of the categories

Can you confirm that the restored data types also contain records in them? I would also reselect the source of the repeating group as well.

Oh okay I see. Take a screenshot of the workflow and the repeating group and we’ll go from there.

Also, you’re saying you “started having this problem”, but what exactly is the problem? The repeating group not displaying anything?

everything seems fine but for some reason the titles of the categories are not showing, maybe I should delete the repeating group and add a group with the text for the category title…I will do screeshots for you to see

Sorry to ask this type of question but which records do the data types contain or what do yo mean by records?




Okay, try to type a random text in that text to see if any text shows up. If it doesn’t, that means Parent group’s product’s shop categories is empty.

Also, in your product data type, what exactly is “shop categories”? Is that another datatype or an option set?

I will try adding text, I’ll see… Shop categories are for the user to choose when submitting the product, to arrange different type of products, fields are title and colors.

1 Like

I added text but the title strangly is not displaying, if you can’t figure out what could be causing this don’t worry I think I know what to do, what I’ll do is I’ll add a group with the text for the category title instead of a repeating group…, since within the group ‘product’ there is a repeating group for the category title with a type of content ‘categories’ which is a ‘list of categories’… I think some fields need to be changed or added in the data type product and I think it will be better a group for the category title instead of a repeating group, a group with a type of content category and data source: parents group product shop category…

Before changing anything, your best bet is to go in your database and see if your Product actually has any categories assigned to it. If the repeating group can’t access the parent product’s categories, neither will the group. Also, a group can only hold one single category, but you said that product has a list of categories.

You could even put a text element somewhere in the group product and check the repeatinggroup category’s list :count. if it’s 0, you have to fix something in your workflow that creates the product. It’s not properly assigning categories to it.

I know what you mean, yes the data type product has a category assigned to it, and a list of categories as well, no it should only hold one category title, this is why I was saying I would try with a group instead of a repeating group, How can I check the repeating group category’s list :count? Maybe there is where the problem is, when trying to create the product, maybe something is preventing the category title to be assigned