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