-
Notifications
You must be signed in to change notification settings - Fork 3
Not all content types were returned for me to select #16
Comments
Hey @ileshmistry! How many content types do you have in your project? I randomly tried testing with 37 and it worked fine.. but I'm guessing you have a lot more? Did you see any errors in your browser's Console or Network tab when you accessed the Generate Sheet page? |
In this project we have around 140 and it will grow. Most of them we don't use, but for this add on we wanted to use the ones we do use :) When I did this, I didn't check the console, as I felt it just was showing a limited list, rather than not showing anything |
@ileshmistry it should be fixed now 👍 |
@kentico-ericd I don't see any Content Types now :( |
@ileshmistry could the request still be running and just taking a long time? I don't see any errors in the add-on's logs.. do you see anything in the browser Console or Network tab? |
I found out that it was caused by a GAS limitation: https://developers.google.com/workspace/add-ons/concepts/cards#card_anatomy. The content type names were added as a widget to a single section, and a section can only have 100 widgets. I've updated the UI and although the appearance is different, each widget has its own section and you can view 100+ content types without issue. Let me know if it's working for you! |
@kentico-ericd However it doesn't show them all for me :( It's still missing about 50 more Content Types. |
I think that there was also a limitation on the number of sections per card 😅 I've added full pagination so that you can see 30 types at a time along with the total at the top. Can you try it now? |
Describe the bug
Basically I'm using the add on, but when trying to retrieve the Content Types from the project, it is not listing them all
Therefore I can't select the one I was to use, it's like it is only listing a limited amount
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect all content types to be available to be selected or some form of search to find the type I need
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: